SELECT subtyp_2, web_url
FROM tb_web_taxonomy
WHERE dept='CYCLING' and typ='COMPONENTS' and subtyp_1='GRIPS & BAR TAPE' and subtyp_2>'' and subtyp_3='EMPTY' and subtyp_2<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP2
CACHED
false
EXECUTIONTIME
15
SQL
SELECT DISTINCT subtyp2, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='CYCLING' and typ='COMPONENTS' and subtyp1='Grips & Bar Tape' and upper(subtyp2)<>'EMPTY' and style_id IN (1104,6423,6752,6827,6853,7743,7773,10692,10694,10717,14945,15468,15646,16965,17242,17499,18072,18094,18095,18332,18696)
GROUP BY subtyp2