Invalid query: 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 'limit 0, 3' at line 1
Select distinct m.models_name from models m inner join models_to_products mp on m.models_id=mp.models_id where m.models_brand='conditions.php' and m.categories_id =12 and m.models_type=1 and m.languages_id = 1 and mp.products_id = limit 0, 3