Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ4S_CUSTOMER Table SQL> DESCRIBE s_customer Note: The data on the pages to follow has been formatted.. Table Descriptions
Trang 1Table Descriptions and Data
B
Trang 2Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ2
Trang 3Table Descriptions and Data BĆ3
Summit Sporting Goods Database Diagram
S_PRODUCT
ORD_ID
ID SALES_REP_ID
PRODUCT_ID
CUSTOMER_ID
SALES_REP_ID
DEPT_ID IMAGE_ID
ID
S_EMP
MANAGER_ID
ID ID
* Unique occurrences are identified by PRODUCT_ID and WAREHOUSE_ID
Trang 4Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ4
S_CUSTOMER Table
SQL> DESCRIBE s_customer
Note: The data on the pages to follow has been formatted Use the provided table
descriptions for accurate column names
Trang 5Table Descriptions and Data BĆ5
SQL> SELECT * FROM s_customer;
Continued on Next Page
Trang 6Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ6
Trang 7Table Descriptions and Data BĆ7
S_DEPT Table
SQL> DESCRIBE s_dept
SQL> SELECT * FROM s_dept;
Trang 8Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ8
S_EMP Table
SQL> DESCRIBE s_emp
Trang 9Table Descriptions and Data BĆ9
SQL> SELECT * FROM s_emp;
Trang 10Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ10
S_IMAGE Table
SQL> DESCRIBE s_image
SQL> SELECT * FROM s_image;
Trang 11Table Descriptions and Data BĆ11
S_INVENTORY Table
SQL> DESCRIBE s_inventory
Trang 12Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ12
SQL> SELECT * FROM s_inventory;
Continued on Next Page
Trang 13Table Descriptions and Data BĆ13
Continued on Next Page
Trang 14Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ14
Continued on Next Page
Trang 15Table Descriptions and Data BĆ15
Trang 16Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ16
S_ITEM Table
SQL> DESCRIBE s_item
Trang 17Table Descriptions and Data BĆ17
SQL> SELECT * FROM s_item;
Continued on Next Page
Trang 18Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ18
Continued on Next Page
Trang 19Table Descriptions and Data BĆ19
Trang 20Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ20
S_ORD Table
SQL> DESCRIBE s_ord
Trang 21Table Descriptions and Data BĆ21
SQL> SELECT * FROM s_ord;
Trang 22Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ22
S_PRODUCT Table
SQL> DESCRIBE s_product
Trang 23Table Descriptions and Data BĆ23
SQL> SELECT * FROM s_product;
Continued on Next Page
Trang 24Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ24
–
Trang 25Table Descriptions and Data BĆ25
S_REGION Table
SQL> DESCRIBE s_region
SQL> SELECT * FROM s_region;
Trang 26Introduction to Oracle: SQL and PL/SQL Using Procedure Builder BĆ26
S_WAREHOUSE Table
SQL> DESCRIBE s_warehouse
SQL> SELECT * FROM s_warehouse;
ID REGION_ID ADDRESS CITY STATE
_ _ _ _
101 1 283 King Street SEATTLE WA
10501 5 5 Modrany BRATISLAVA
201 2 68 Via Centrale SAO PAOLO
301 3 6921 King Way LAGOS
401 4 86 Chu Street HONG KONG
COUNTRY ZIP_CODE PHONE MANAGER_ID