Error in executing SELECT Blog_Data.*, (SELECT group_concat(Blog_Categories_Link.CategoryId) FROM Blog_Categories_Link WHERE Blog_Data.IntRef = Blog_Categories_Link.BlogId) AS Categories FROM Blog_Data LEFT JOIN Blog_Categories_Link ON Blog_Categories_Link.BlogId = Blog_Data.IntRef WHERE Blog_Data.Viewable = '1' AND Blog_Data.Type = '2' AND Blog_Data.IntRef != '41' AND Blog_Categories_Link.CategoryId IN () GROUP BY Blog_Categories_Link.BlogId ORDER by PubDate DESC LIMIT 3 stmt
error:1064 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 Blog_Categories_Link.BlogId ORDER by PubDate DESC LIMIT 3' at line 1