MySQL Error in Query:

SELECT * FROM jobs_pages WHERE link_lokalitalocation dlouha lhota 2 1 17=''

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dlouha lhota 2 1 17=''' at line 1