Database 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 'AND ib.site_id = 4' at line 2]
SELECT target_id AS id FROM items_binder AS ib WHERE ib.source = 'competence' AND ib.target = 'solutions' AND ib.source_id = AND ib.site_id = 4

Database 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 'AND ib.site_id = 4' at line 2]
SELECT target_id AS id FROM items_binder AS ib WHERE ib.source = 'competence' AND ib.target = 'galleries' AND ib.source_id = AND ib.site_id = 4

Database 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 'AND ib.site_id = 4' at line 2]
SELECT target_id AS id FROM items_binder AS ib WHERE ib.source = 'competence' AND ib.target = 'items' AND ib.source_id = AND ib.site_id = 4

Database 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 'AND ib.site_id = 4' at line 2]
SELECT target_id AS id FROM items_binder AS ib WHERE ib.source = 'competence' AND ib.target = 'item_categories' AND ib.source_id = AND ib.site_id = 4


Taip pat žr.: