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
1
DRY STORAGE
2
5
FISHING
3
8
OUTFITTING
4
3
PADDLEBOARD ACCESSORIES
5
1
PFDS
6
3
RACKS & STORAGE
7
1
SAFETY
CACHED
false
EXECUTIONTIME
15
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 (1432,1433,1702,4503,8463,9332,11121,11135,11138,11139,17103,17383,22365,9327,9336,14871)
GROUP BY subtyp1