Syntax error, unexpected token AND, near to ' published = 1', when parsing: SELECT [ServiceExpertise].* FROM [ServiceExpertise] WHERE service_expertise_category_id = AND published = 1 (108)