QUERY = SELECT MAX(price) AS price_max, MIN(price) AS price_min FROM CubeCart_cats_idx INNER JOIN CubeCart_inventory ON CubeCart_cats_idx.productId = CubeCart_inventory.productId WHERE CubeCart_cats_idx.cat_id IN (140) AND active='1' AND show_on_cat='1' AND CubeCart_inventory.man IN () AND youtube_id!=''