SELECT subtyp_2, web_url
FROM tb_web_taxonomy
WHERE dept='CYCLING' and typ='COMPONENTS' and subtyp_1='SADDLES' and subtyp_2>'' and subtyp_3='EMPTY' and subtyp_2<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP2
CACHED
false
EXECUTIONTIME
24
SQL
SELECT DISTINCT subtyp2, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='CYCLING' and typ='COMPONENTS' and subtyp1='Saddles' and upper(subtyp2)<>'EMPTY' and style_id IN (1093,6527,6562,6739,6782,6819,7594,7599,7889,8342,13888,14015,14534,14773,14974,15209,17301,17302,17502,18702,18703,18704,19649,20141)
GROUP BY subtyp2