SELECT subtyp_2, web_url
FROM tb_web_taxonomy
WHERE dept='CYCLING' and typ='COMPONENTS' and subtyp_1='BRAKES' and subtyp_2>'' and subtyp_3='EMPTY' and subtyp_2<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP2
CACHED
false
EXECUTIONTIME
16
SQL
SELECT DISTINCT subtyp2, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='CYCLING' and typ='COMPONENTS' and subtyp1='Brakes' and upper(subtyp2)<>'EMPTY' and style_id IN (6482,7252,7431,7467,7649,7777,8582,8601,8683,10379,14105,14680,14997,17055,17685,17797,17823,17964,18266,20559)
GROUP BY subtyp2