Resultados de Búsqueda
SELECT f.id, f.max_age, f.min_age, f.presentacion, f.sentby, f.description, f.dosis, f.indicaciones, f.sinagregado, l1.id subid, l1.name subname, l2.id catid, l2.name catname
FROM foods f
LEFT JOIN companies c on c.id = f.companyid
JOIN levels l1 on l1.id = f.categoryid
LEFT JOIN levels l2 on l2.id = l1.parentid
WHERE f.state = 1 AND (1 = 1 AND (categoryid = :cate or categoryid in (select id from levels where parentid = :cate )) AND f.min_age <= 1 AND f.max_age <= 2 AND f.companyid = 79 ) ORDER BY l2.name;
-
$ 0
Practicuna Corralito Plegable Stylo Nollie
...