Database Programming Section 12 Quiz
Database Programming Section 12 Quiz
Section 12 Quiz
(Answer all questions in this section)
The ON clause
PRODUCTS:
PRODUCT_ID NUMBER NOT NULL, Primary Key
PRODUCT_NAME VARCHAR2 (25)
SUPPLIER_ID NUMBER Foreign key to SUPPLIER_ID of the
SUPPLIERS table
CATEGORY_ID NUMBER
QTY_PER_UNIT NUMBER
UNIT_PRICE NUMBER (7,2)
QTY_IN_STOCK NUMBER
QTY_ON_ORDER NUMBER
REORDER_LEVEL NUMBER
You want to delete any products supplied by the five suppliers located
in Atlanta. Which script should you use?
True
False (*)
(Answer all questions in this section)
6. Which statement below will not insert a row of data into a table?
Mark for Review
(1) Points
True (*)
False
All; Second
Null; Default
All; First (*)
First; Second
Datatype (*)
Size
Column name
Table
10. A multi-table insert statement must have a subquery at the end
of the statement. (True or False?) Mark for Review
(1) Points
True (*)
False
11. You need to copy rows from the EMPLOYEE table to the
EMPLOYEE_HIST table. What could you use in the INSERT
statement to accomplish this task? Mark for Review
(1) Points
A function
An ON clause
A SET clause
A subquery (*)
INSERT (*)
CREATE
DELETE
14. Which of the following statements will add a new customer to the
customers table in the Global Fast Foods database? Mark for Review
(1) Points