Untrapped Exception ErrorYou 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 (NeID IN
(
SELECT nnc.NeID
FROM ' at line 2
SELECT * FROM gogoNews
WHERE NeID <> AND (NeID IN
(
SELECT nnc.NeID
FROM gogoNews_NewsCategories nnc
INNER JOIN gogoNews_Categories nc
ON nnc.NcID = nc.NcID
WHERE NcName LIKE 'Soul Quisine'
))
ORDER BY NeDate DESC