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
5
BINDINGS
2
2
BOOTS
3
5
POLES
4
1
SKIS
CACHED
false
EXECUTIONTIME
34
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,2431,3726,3728,3730,3745,8330,8331,16243)
GROUP BY subtyp1