Exam 2: Basic SQL Select Statements

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

​The DISTINCT keyword can be used to indicate that duplicate data should be suppressed in the results of a query._________________________

Free
(True/False)
4.8/5
(29)
Correct Answer:
Verified

True

Contents of the PUBLISHER table Contents of the PUBLISHER table    ​ -Based upon the contents of the PUBLISHER table,which of the following is not a valid SQL statement?​ ​ -Based upon the contents of the PUBLISHER table,which of the following is not a valid SQL statement?​

Free
(Multiple Choice)
4.8/5
(30)
Correct Answer:
Verified

C

Contents of the PUBLISHER table Contents of the PUBLISHER table    ​ -Based upon the contents of the PUBLISHER table,which of the following is a valid SQL statement?​ ​ -Based upon the contents of the PUBLISHER table,which of the following is a valid SQL statement?​

Free
(Multiple Choice)
4.7/5
(29)
Correct Answer:
Verified

B

Contents of the BOOKS table Contents of the BOOKS table    -Which of the following SQL statements will display the profit generated by each book currently stored in the BOOKS table?​ -Which of the following SQL statements will display the profit generated by each book currently stored in the BOOKS table?​

(Multiple Choice)
4.8/5
(32)

When solving arithmetic expressions,Oracle 12c always resolves addition and subtraction operations first from left to right in the expression._________________________

(True/False)
4.9/5
(34)

A string literal must be enclosed in ____________________ marks.​

(Short Answer)
4.9/5
(32)

Which of the following types of columns will automatically left-align the column heading when it is displayed?​

(Multiple Choice)
4.9/5
(31)

The SELECT clause identifies the table containing the data to be queried._________________________

(True/False)
4.8/5
(41)

To indicate which database table contains the data to be selected by a query,the table name should be listed in the ____ clause.​

(Multiple Choice)
4.8/5
(31)

Which of the following symbols represents all the columns contained in a table?​

(Multiple Choice)
4.9/5
(30)

A(n)____________________ is an alternative column heading displayed in the output of a query.​

(Short Answer)
4.7/5
(35)

​The DESCRIBE command is used to view data in a table.

(True/False)
4.7/5
(31)

​Choosing specific columns to be displayed by a SELECT statement is known as selection.

(True/False)
4.9/5
(32)

Contents of the BOOKS table Contents of the BOOKS table    -Based upon the contents of the BOOKS table,which of the following SQL statements will display five rows in its results?​ -Based upon the contents of the BOOKS table,which of the following SQL statements will display five rows in its results?​

(Multiple Choice)
4.8/5
(35)

Contents of the BOOKS table Contents of the BOOKS table    -​Based upon the contents of the BOOKS table,which of the following SQL statements will display the retail price for two copies of each book currently in inventory? -​Based upon the contents of the BOOKS table,which of the following SQL statements will display the retail price for two copies of each book currently in inventory?

(Multiple Choice)
4.8/5
(41)

Contents of the PUBLISHER table Contents of the PUBLISHER table    ​ -​Based upon the contents of the PUBLISHER table,which of the following SQL statements will display only two columns in the results? ​ -​Based upon the contents of the PUBLISHER table,which of the following SQL statements will display only two columns in the results?

(Multiple Choice)
4.8/5
(40)

A(n)____________________ can consist of numbers,characters,or special symbols that should be included in the output exactly as entered by the user.​

(Short Answer)
4.7/5
(45)

Explain how the DISTINCT keyword effects a SELECT statement that lists two columns in the SELECT clause.​

(Essay)
4.8/5
(35)

Each section of a SQL command that begins with a keyword is known as a statement.​

(True/False)
4.8/5
(41)

Structure of the ORDERS table Structure of the ORDERS table    -Based upon the structure of the ORDERS table,which of the following SQL statements will return an error message upon execution?​ -Based upon the structure of the ORDERS table,which of the following SQL statements will return an error message upon execution?​

(Multiple Choice)
4.8/5
(33)
Showing 1 - 20 of 121
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)