Attempt Score 94 out of 100 points
Instructions
This final exam consists of 50 multiple choice questions and
covers the material in Chapters 7 through 10 and Chapters
13 through 15.
Results Submitted Answers, Correct Answers, Feedback
Displayed
• Question 1
2 out of 2 points
Which query will output the table contents when the value of P_PRICE is less than or equal
to 10?
Selected Answer:
SELECT P_DESCRIPT, P_INDATE, P_PRICE,
V_CODE FROM PRODUCT
WHERE P_PRICE <= 10;
Correct Answer:
SELECT P_DESCRIPT, P_INDATE, P_PRICE,
V_CODE FROM PRODUCT
WHERE P_PRICE <= 10;
• Question 2
2 out of 2 points
The SQL command that lets you select attributes from rows in one or more tables is .
Selected Answer:
SELECT
Correct Answer:
SELECT
• Question 3
2 out of 2 points
To list all the contents of the PRODUCT table, you would use .
, Selected Answer:
SELECT * FROM
Correct Answer:
PRODUCT; SELECT *
FROM PRODUCT;
• Question 4
2 out of 2 points
To delete a row from the PRODUCT table, use the command.
Selected Answer:
DELETE
Correct Answer:
DELETE
• Question 5
2 out of 2 points
The SQL character data format(s) is(are) .
Selected Answer:
CHAR and VARCHAR
Correct Answer:
CHAR and VARCHAR
• Question 6
2 out of 2 points
A table can be deleted from the database by using the command.
Selected Answer:
DROP TABLE
Correct Answer:
DROP TABLE
• Question 7
0 out of 2 points