Falied query: SELECT news.* FROM news WHERE newscat = 'main' AND news.newsid= GROUP BY news.newsid ORDER BY date DESC

ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'GROUP BY news.newsid ORDER BY date DESC' at line 5