SELECT subtyp_1, web_url
FROM tb_web_taxonomy
WHERE dept='CAMP AND HIKE' and typ='CAMP KITCHEN' and subtyp_1>'' and subtyp_2='EMPTY' and subtyp_1<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP1
1
4
ACCESSORIES
2
6
COOKWARE
3
2
COOLERS
4
3
CUPS & MUGS
5
3
FLATWARE
6
3
FOOD CONTAINERS
7
1
PLATES & BOWLS
8
1
STOVES & FUEL
9
3
UTENSILS
CACHED
false
EXECUTIONTIME
16
SQL
SELECT DISTINCT subtyp1, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='CAMP AND HIKE' and typ='CAMP KITCHEN' and upper(subtyp1)<>'EMPTY' and style_id IN (1443,1463,1474,1482,1538,1550,2770,4120,4483,5042,6601,8408,11333,15083,15801,19004,19605,21757,21758,21764,21773)
GROUP BY subtyp1