Difference between revisions of "OE.BOMBAY INVENTORY (view)"
Line 10: | Line 10: | ||
<pre> | <pre> | ||
− | CREATE OR REPLACE SELECT p.product_id | + | CREATE OR REPLACE VIEW OE.BOMBAY_INVENTORY AS |
+ | SELECT p.product_id | ||
, p.product_name | , p.product_name | ||
, i.quantity_on_hand | , i.quantity_on_hand |
Revision as of 20:10, 24 August 2009
wikibot
view | OE.BOMBAY_INVENTORY |
CREATE OR REPLACE VIEW OE.BOMBAY_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 = 'Bombay'