 |
select
distinct
(style_id) as style_id
, max(picture_id)
, min(min_price) as min_price
, max(max_price) as max_price
, max(web_style) as web_style
, max(web_desc) as web_desc
, max(picture_id) as picture_id
, max(dept) as dept
, max(typ) as typ
, max(subtyp_1) as subtyp_1
, max(subtyp_2) as subtyp_2
, max(subtyp_3) as subtyp_3
, max(category_style) as category_style
, max(web_url) as web_url
, max(sort_position) as sort_position
,max(web_taxonomy_id) as web_taxonomy_id
,max(brand) as brand
, MAX(max_sugg_price) AS max_sugg_price
from grandgetproducts
where of20='FEATURED WEB ITEM'
group by Style_id order by
picture_id desc
|
|
|
Enter to Win a $50 gift card! Ends December 1stst, 2009
|