98-364 practice questions, page 3 of 10, with answer review and explanations.
Question 11
Which keyword can be used in a create table statement?
ORDER BY
DISTINCT
GROUP BY
UNIQUE
Question 12
You need to store product quantities, and you want to minimize the amount of storage space that is used. Which data type should you use?
INTEGER
DOUBLE
COUNT
FLOAT
Question 13
Which statement will result in the creation of an index?
Option A
Option B
Option C
Option D
Question 14
You have the following table definition: CREATE TABLE Road - (RoadID INTEGER NOT NULL, Distance INTEGER NOT NULL) The Road table contains the following data: You execute the following statement: INSERT INTO Road VALUES (1234, 36) What is the result?
an error stating that NULL values are not allowed
a new row in the table
an error stating that duplicate IDs are not allowed
a syntax error
Question 15
You need to store product names that vary from three to 30 characters. You also need to minimize the amount of storage space that is used. Which data type should you use?