OE.PRODUCT PRICES (view)

From dbscript Online Help
Revision as of 20:10, 24 August 2009 by Bot (talk | contribs)
Jump to: navigation, search

wikibot

view OE.PRODUCT_PRICES


CREATE OR REPLACE VIEW OE.PRODUCT_PRICES AS 
SELECT category_id
,      COUNT(*)        as "#_OF_PRODUCTS"
,      MIN(list_price) as low_price
,      MAX(list_price) as high_price
FROM   product_information
GROUP BY category_id