classDatabase: rowCount: command: SELECT brand_el AS brand, brand_url AS path, logo, COUNT(p.id) AS products FROM brands b INNER JOIN products p ON b.id=p.brand WHERE b.visible=True AND p.visible=True AND p.>0 GROUP BY b.series, brand_el, brand_url, logo
Incorrect syntax near '>'.