SELECT subtyp_2, web_url
FROM tb_web_taxonomy
WHERE dept='CYCLING' and typ='BIKE TOOLS' and subtyp_1='SHOP TOOLS' and subtyp_2>'' and subtyp_3='EMPTY' and subtyp_2<>'EMPTY'
ORDER BY sort_position
query
RESULTSET
query
ITEMCOUNT
SUBTYP2
CACHED
false
EXECUTIONTIME
19
SQL
SELECT DISTINCT subtyp2, count(distinct style_id) as itemCount
FROM web_all_products
WHERE dept='CYCLING' and typ='BIKE TOOLS' and subtyp1='Shop Tools' and upper(subtyp2)<>'EMPTY' and style_id IN (2509,6385,6424,6578,7045,7194,7496,7723,7738,7891,11410,14147,15006,15461,17365,17412,17847,18073,18402,18652,18756,18759)
GROUP BY subtyp2