SELECT subtyp_2, web_url
FROM tb_web_taxonomy
WHERE dept='CYCLING' and typ='BIKE TOOLS' and subtyp_1='MULTI-TOOLS' and subtyp_2>'' and subtyp_3='EMPTY' and subtyp_2<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP2
CACHED
false
EXECUTIONTIME
13
SQL
SELECT DISTINCT subtyp2, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='CYCLING' and typ='BIKE TOOLS' and subtyp1='Multi-Tools' and upper(subtyp2)<>'EMPTY' and style_id IN (1087,7177,7663,7733,10594,17637,17920,19370,10220)
GROUP BY subtyp2