SELECT subtyp_2, web_url
FROM tb_web_taxonomy
WHERE dept='MORE...' and typ='TRAVEL' and subtyp_1='DUFFLES' and subtyp_2>'' and subtyp_3='EMPTY' and subtyp_2<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP2
CACHED
false
EXECUTIONTIME
16
SQL
SELECT DISTINCT subtyp2, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='MORE...' and typ='TRAVEL' and subtyp1='Duffles' and upper(subtyp2)<>'EMPTY' and style_id IN (5062,5074,5075,5617,5678,11359,11360,13988,14589,14597,15794,17766,18407,18792,21013,21014)
GROUP BY subtyp2