SELECT subtyp_1, web_url
FROM tb_web_taxonomy
WHERE dept='SNOWSPORTS' and typ='WINTER TRACTION' and subtyp_1>'' and subtyp_2='EMPTY' and subtyp_1<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP1
CACHED
false
EXECUTIONTIME
16
SQL
SELECT DISTINCT subtyp1, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='SNOWSPORTS' and typ='WINTER TRACTION' and upper(subtyp1)<>'EMPTY' and style_id IN (2827,3257,3261,3413,3414,3415,11217,11218,11219,13941,13948,14093)
GROUP BY subtyp1