Buongiorno!
mi compare questo errore, qualcuno mi può aiutare ad eliminarlo? :-(
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 ') union select b.`category_id` from `dvnsp_discuss_category_acl_map` as b ' at line 1
SQL=
Codice:
select c.`id` from `dvnsp_discuss_category` as c where not exists ( select b.`category_id` from `dvnsp_discuss_category_acl_map` as b where b.`category_id` = c.`id` and b.`acl_id` = '2' and b.`type` = 'group' and b.`content_id` IN () union select b.`category_id` from `dvnsp_discuss_category_acl_map` as b where b.`category_id` = c.`id` and b.`acl_id` = '2' and b.`type` = 'user' and b.`content_id` = '962' ) and c.`private` = '2'
Grazie Mille!!!