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
0
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,6372,6423,6753,6853,7001,7743,10692,10694,10717,15468,15646,17242,17499,18072,18094,18332,18696,20662,20712,20727,22278)
GROUP BY subtyp2