Difference between revisions of "OE.BOMBAY INVENTORY (view)"

From dbscript Online Help
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
|-
+
|- valign="top"
 
| '''View
 
| '''View
 
| OE.BOMBAY_INVENTORY
 
| OE.BOMBAY_INVENTORY
|-
 
 
|}
 
|}
 
  
 
=== Source ===
 
=== Source ===
Line 22: Line 20:
 
AND    w.warehouse_name = 'Bombay'
 
AND    w.warehouse_name = 'Bombay'
 
</pre>
 
</pre>
 
=== References ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
| '''Dependency Type
 
| '''Object Type
 
| '''Referenced Object
 
 
|-
 
| Select
 
| Table
 
| [[OE.INVENTORIES_(table)|OE.INVENTORIES]]
 
 
|}
 

Latest revision as of 10:34, 27 August 2011

wikibot[edit]

View OE.BOMBAY_INVENTORY

Source[edit]

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'