SELECT subtyp_1, web_url
FROM tb_web_taxonomy
WHERE dept='SNOWSPORTS' and typ='ALPINE TOURING' and subtyp_1>'' and subtyp_2='EMPTY' and subtyp_1<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP1
1
8
BINDINGS
2
4
BOOTS
3
3
POLES
4
1
SKIS
CACHED
false
EXECUTIONTIME
12
SQL
SELECT DISTINCT subtyp1, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='SNOWSPORTS' and typ='ALPINE TOURING' and upper(subtyp1)<>'EMPTY' and style_id IN (777,2423,2424,2425,2429,2430,2432,3728,3745,8148,8149,8330,8331,16243,18113,18202,18665)
GROUP BY subtyp1