SELECT subtyp_1, web_url
FROM tb_web_taxonomy
WHERE dept='SNOWSPORTS' and typ='TELEMARK' and subtyp_1>'' and subtyp_2='EMPTY' and subtyp_1<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP1
1
10
BINDINGS
2
3
BOOTS
CACHED
false
EXECUTIONTIME
15
SQL
SELECT DISTINCT subtyp1, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='SNOWSPORTS' and typ='TELEMARK' and upper(subtyp1)<>'EMPTY' and style_id IN (6,7,8,9,11,2440,8315,8321,8322,8323,10946,14254,18525)
GROUP BY subtyp1