When I try to execute this SQL query, I get an error and I don't know how to correct it
select *
from pg_specialites_annees pgs
where pgs.NOM_FR like '%tets%'
left join pg_specialites_parametres pgsp on pgsp.ID_SPECIALITE = pgs.ID_SPECIALITE;
When I remove the LIKE it works, but I need a specific row.
Please help me, I don't know how to do it. I want to show some details for a specific row in table from another table.
SELECT,FROM,JOIN,ON,WHERE,GROUP BY,HAVING,ORDER BYwhich is not the same order as execution.