Query Failed SELECT * FROM companies_house LEFT JOIN postcode_map ON Outcode=Postcode LEFT JOIN map_text ON map_text.loc_ID=StateID WHERE LIMIT 0,50 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 0,50' at line 1