SELECT subtyp_1, web_url
FROM tb_web_taxonomy
WHERE dept='PADDLESPORTS' and typ='ACCESSORIES' and subtyp_1>'' and subtyp_2='EMPTY' and subtyp_1<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP1
1
2
CARE & REPAIR
2
1
CLOTHING & ACCESSORIES
3
5
FISHING
4
5
OUTFITTING
5
2
SAFETY
CACHED
false
EXECUTIONTIME
14
SQL
SELECT DISTINCT subtyp1, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='PADDLESPORTS' and typ='ACCESSORIES' and upper(subtyp1)<>'EMPTY' and style_id IN (1693,1707,9194,9276,11112,11134,15274,17102,17131,2831,11093)
GROUP BY subtyp1