SELECT subtyp_2, web_url
FROM tb_web_taxonomy
WHERE dept='MORE...' and typ='TRAVEL' and subtyp_1='PACKING ORGANIZERS' 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='Packing Organizers' and upper(subtyp2)<>'EMPTY' and style_id IN (3843,3848,4004,4005,4006,5176,5476,5477,18777,18780,18781,18791,19912,19918,20163,21746)
GROUP BY subtyp2