I have this error : "1064 You have an error in your SQL syntax ..... where () AND () AND () ORDER BY a.id DESC"
SELECT a.*, c.name, b.title
FROM #__mytable_applications AS a
LEFT JOIN #__mytable_offers AS b ON (a.offer = b.id)
LEFT JOIN #__mytable_statuses AS c ON (a.status = c.id) where a.lastname LIKE '%%'
AND a.firstname LIKE '%%'
AND b.title LIKE '%%'
ORDER BY a.id DESC
SELECT a.*, c.name, b.title
FROM #__mytable_applications AS a
LEFT JOIN #__mytable_offers AS b ON (a.offer = b.id)
LEFT JOIN #__mytable_statuses AS c ON (a.status = c.id) where () AND () AND () ORDER BY a.id DESC
SELECT a.*, c.name, b.title FROM #__mytable_applications AS a
LEFT JOIN #__mytable_offers AS b ON (a.offer = b.id)
LEFT JOIN #__mytable_statuses AS c ON (a.status = c.id)
where [MATCH]a.lastname||$uri->getValue('mytable_lastname')[/MATCH] AND
[MATCH]a.firstname||$uri->getValue('mytable_prenom')[/MATCH] AND
[MATCH]b.title||$uri->getValue('mytable_offre')[/MATCH]
ORDER BY a.id DESC
if somebody has an investagation way ...