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
9
BINDINGS
2
4
BOOTS
3
6
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,2431,2432,3703,3728,3730,3745,8149,8330,8331,14290,16243,18113,18202,18664,18665)
GROUP BY subtyp1