MySQL Query : select p.title,p.thumb,p.description,p.url,group_concat(ct.name, ' ') as tags,group_concat(ct.id, ' ') as tagIds from product p left join ctag_data cd on cd.model_id = 11 and cd.data_id = p.id left join ctag ct on cd.ctag_id = ct.id where p.id in (select d.id from product d left join ctag_data t on t.model_id = 11 and t.data_id = d.id where t.ctag_id = ) group by p.id LIMIT 20
MySQL Error : 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 ') group by p.id LIMIT 20' at line 1
MySQL Errno : 1064
Message : 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 ') group by p.id LIMIT 20' at line 1
Need Help?