SELECT subtyp_2, web_url
FROM tb_web_taxonomy
WHERE dept='SNOWSPORTS' and typ='XC RECREATIONAL AND BACKCOUNTRY' and subtyp_1='BOOTS' and subtyp_2>'' and subtyp_3='EMPTY' and subtyp_2<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP2
CACHED
false
EXECUTIONTIME
2
SQL
SELECT DISTINCT subtyp2, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='SNOWSPORTS' and typ='XC RECREATIONAL AND BACKCOUNTRY' and subtyp1='Boots' and upper(subtyp2)<>'EMPTY' and style_id IN (2273,2294,2317,2318,2325,7913,7948,7949,7951,7952,7955,7959,7961,7962,8214,8216,16245,16246,18110,18111,18233,18349,21111)
GROUP BY subtyp2