Overview Tables Views Indexes Constraints Triggers Procedures Functions Packages Sequences Index

OE


Description  Columns  Query  Constraints  Referenced by  Triggers  

SYDNEY_INVENTORY

Description

This view shows inventories at the Sydney warehouse.

Columns

Column Datatype Nullable Insertable Updateable Deletable Comment
PRODUCT_ID NUMBER(6,0) N NO NO NO  
PRODUCT_NAME NVARCHAR2(250) Y NO NO NO  
QUANTITY_ON_HAND NUMBER(8,0) N NO NO NO  

Query

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 = 'Sydney'

Generated by
OraDoclet, Copyright © Oracle Corporation 2005      Last updated: 01.01.2005