select_query = """SELECT * FROM public.manager WHERE title LIKE %s ORDER BY id DESC LIMIT 10"""
cursor.execute(select_query, match_string)
SELECT * FROM public.manager
WHERE title LIKE '%1%'
ORDER BY id DESC
LIMIT 10
select_query = """SELECT * FROM public.manager WHERE title LIKE '%'%s'%' ORDER BY id DESC LIMIT 10"""
cursor.execute(select_query, match_string)