SELECT subtyp_1, web_url
FROM tb_web_taxonomy
WHERE dept='SNOWSPORTS' and typ='XC RACE AND FITNESS' and subtyp_1>'' and subtyp_2='EMPTY' and subtyp_1<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP1
1
4
BINDINGS
2
3
BOOTS
3
9
SKIS
CACHED
false
EXECUTIONTIME
15
SQL
SELECT DISTINCT subtyp1, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='SNOWSPORTS' and typ='XC RACE AND FITNESS' and upper(subtyp1)<>'EMPTY' and style_id IN (2278,2281,2284,2285,2286,2287,2295,2308,2309,2312,2316,2322,2323,2324,18559,20509)
GROUP BY subtyp1