Difference between revisions of "OE.TORONTO INVENTORY (view)"
Line 20: | Line 20: | ||
AND w.warehouse_name = 'Toronto' | AND w.warehouse_name = 'Toronto' | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 10:35, 27 August 2011
wikibot[edit]
View | OE.TORONTO_INVENTORY |
Source[edit]
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'