Multi query failed: (1064) 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 LEFT(extra_5,7) < LEFT(NOW(),7) ORDER BY extra_5 DESC' at line 4 \n
SELECT DISTINCT CONCAT(LEFT(extra_5,7),'-01') AS month,LEFT(extra_5,7) AS amonth
FROM webobjects AS wo
WHERE (active=1)
AND id IN (SELECT obj_id FROM webobjectdep WHERE in_obj_id=) AND LEFT(extra_5,7) < LEFT(NOW(),7) ORDER BY extra_5 DESC
Multi query failed: (1064) 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 LEFT(extra_5,7) < LEFT(NOW(),7) ORDER BY extra_5 DESC' at line 4 \n
SELECT DISTINCT CONCAT(LEFT(extra_5,7),'-01') AS month,LEFT(extra_5,7) AS amonth
FROM webobjects AS wo
WHERE (active=1)
AND id IN (SELECT obj_id FROM webobjectdep WHERE in_obj_id=) AND LEFT(extra_5,7) < LEFT(NOW(),7) ORDER BY extra_5 DESC