OE.TORONTO INVENTORY (view)

From dbscript Online Help
Revision as of 06:16, 24 June 2010 by Bot (talk | contribs)
Jump to: navigation, search

wikibot

View OE.TORONTO_INVENTORY

Source

CREATE OR REPLACE VIEW OE.TORONTO_INVENTORY AS 
SELECT p.product_id
,      p.product_name
,      i.quantity_on_hand
FROM   inventories i
,      warehouses  w
,      products    p
WHERE  p.product_id = i.product_id
AND    i.warehouse_id = w.warehouse_id
AND    w.warehouse_name = 'Toronto'

References

Dependency Type Object Type Referenced Object
Select Table OE.INVENTORIES