Publication List
SELECT DISTINCT c.*, IF(bit_length(c.description)>0,1,0) as nulltest FROM content c WHERE id in ()
ORDER BY CASE
WHEN `id`='' THEN 1
ELSE 2
END
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 ')
ORDER BY CASE
WHEN `id`='' THEN 1
ELSE 2
END' at line 1