de
en

HUCH! - Quiz

XXX
SELECT * FROM Product AS p JOIN ProductHasBrand AS pb ON p.id = pb.productId JOIN ProductHasCategory AS pc ON p.id = pc.productId WHERE p.deleted = 0 and p.active = 1 AND pb.brandId = :brandId AND pc.categoryId = :categoryId ORDER BY id DESC