SELECT subtyp_2, web_url
FROM tb_web_taxonomy
WHERE dept='PADDLESPORTS' and typ='ACCESSORIES' and subtyp_1='PADDLES' and subtyp_2>'' and subtyp_3='EMPTY' and subtyp_2<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP2
1
12
KAYAK
2
11
SUP
CACHED
false
EXECUTIONTIME
19
SQL
SELECT DISTINCT subtyp2, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='PADDLESPORTS' and typ='ACCESSORIES' and subtyp1='Paddles' and upper(subtyp2)<>'EMPTY' and style_id IN (20,22,23,28,29,30,33,34,38,1679,1688,1704,10998,10999,11001,11002,11007,11008,11009,11514,14754,15775,16506)
GROUP BY subtyp2