MySQL 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 '' at line 4 SQL: select c.category_id, c.category_name from inews_categories c join brand_inews_categories b on b.category_id = c.category_id where b.brand_id =