Code: Select all
SELECT neg.tag AS tag, count(neg.tag) AS total
FROM serendipity_entrytags AS main
WHERE ()
AND ()
GROUP BY neg.tagThere should be no WHERE and AND, if the () are empty.2010-03-28 23:32:23 CEST ERROR: syntax error at or near ")" at character 146