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 '?page_id=20646 AND j.likelihood_observation > 0 ORDER BY j.likelihood_obser' at line 40