SELECT subtyp_2, web_url
FROM tb_web_taxonomy
WHERE dept='SNOWSPORTS' and typ='ACCESSORIES' and subtyp_1='BC GEAR & SKINS' and subtyp_2>'' and subtyp_3='EMPTY' and subtyp_2<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP2
CACHED
false
EXECUTIONTIME
16
SQL
SELECT DISTINCT subtyp2, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='SNOWSPORTS' and typ='ACCESSORIES' and subtyp1='BC Gear & Skins' and upper(subtyp2)<>'EMPTY' and style_id IN (745,779,2276,2303,2422,2427,2433,2434,13926,15886,15887,15889,18273,18275,20741)
GROUP BY subtyp2