I have this query :
SELECT p.id, p.name, p.img, p.template_usage, t.name as tpl_name FROM platforms as p, xml_template as t WHERE p.template_usage = t.id
It returns required results, however if the t.id does not exist, the whole row is not returned. Is it possible to add some kind of parameter that says
"If t.id does not exist then tpl_name = ''"
- so the row is returned, but the value of the tpl_name is empty.