SELECT subtyp_2, web_url
FROM tb_web_taxonomy
WHERE dept='CYCLING' and typ='COMPONENTS' and subtyp_1='TUBES' and subtyp_2>'' and subtyp_3='EMPTY' and subtyp_2<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP2
CACHED
false
EXECUTIONTIME
14
SQL
SELECT DISTINCT subtyp2, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='CYCLING' and typ='COMPONENTS' and subtyp1='Tubes' and upper(subtyp2)<>'EMPTY' and style_id IN (6392,6448,6530,6580,6937,6987,7007,7642,7878,10394,11437,11448,14705,14779,14955,15134,15246,15380,15757,15788,15948,15949,15957,19513,19631)
GROUP BY subtyp2