SELECT e.title_url, e.title, a.title_url as area_url, a.title as area_title FROM educational e, educational_areas a WHERE a.id = AND a.id = e.area_id ORDER BY RAND() LIMIT 10
MySQL Error: 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 'AND a.id = e.area_id ORDER BY RAND() LIMIT 10' at line 1