veresto:7 sub: otro:select sd.categories_id,sd.categories_name,sp.parent_id from categories sp join categories_description sd using(categories_id) where sp.parent_id=7 AND sd.categories_id in( SELECT parent_id FROM lista_precios_productos, products_quantity_name pn, products p,categories, products_description pd,categories_description cd, products_to_categories pc WHERE p.products_status = '1' and pc.products_id=p.products_id and pd.products_id = p.products_id and lista_precios_productos.products_id = p.products_id AND categories.categories_id=cd.categories_id AND pn.products_quantity = p.products_quantity AND categories.categories_id=pc.categories_id and (lista_precios_productos.pesos > 5 or lista_precios_productos.precio_sin_iva > 5 or p.pvp > 5) and p.visible <> 0 AND lista_precios_productos.id_lista = 6 AND parent_id in (53,65) AND p.manufacturers_id= 846 group by parent_id)
  Nombre PVP Precio Web Precio Stock Cantidad Carrito