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
10
KAYAK
2
8
SUP
CACHED
false
EXECUTIONTIME
16
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,23,28,29,31,33,10998,10999,11002,11514,14754,15777,15885,16506,19615,19616,21970,21971)
GROUP BY subtyp2