1064: SELECT count(*) as total_row FROM products p LEFT JOIN productcategories pc ON p.category=pc.id WHERE p.pc= and p.price > 0
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 p.price > 0' at line 2