SELECT subtyp_1, web_url
FROM tb_web_taxonomy
WHERE dept='PADDLESPORTS' and typ='KAYAKS' and subtyp_1>'' and subtyp_2='EMPTY' and subtyp_1<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP1
1
7
INFLATABLE KAYAKS
2
1
PEDAL DRIVEN
3
10
SIT INSIDE KAYAKS
4
4
SIT ON TOP KAYAKS
5
1
SURF SKIS & RACING KAYAKS
6
2
TANDEM KAYAKS
7
4
TOURING KAYAKS
CACHED
false
EXECUTIONTIME
22
SQL
SELECT DISTINCT subtyp1, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='PADDLESPORTS' and typ='KAYAKS' and upper(subtyp1)<>'EMPTY' and style_id IN (1683,1684,1695,3006,3012,4713,9160,9161,9162,9163,9167,9171,9176,14854,15018,15020,15021,15023,15024,15779,16371,16372,16687,16688,17097,9177)
GROUP BY subtyp1