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 'AND cd.portfolio_cat_id =' at line 1

SELECT c.portfolio_cat_id, c.parent_id, cd.portfolio_cat_name, cd.portfolio_cat_description FROM portfolio_cat c, portfolio_cat_description cd WHERE c.portfolio_cat_id = cd.portfolio_cat_id AND cd.language_id = FLOOR(1) AND c.portfolio_cat_id = AND cd.portfolio_cat_id =

[TEP STOP]