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.9/5
(66)
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
(79)
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
(75)
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
(76)

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
(74)

A string literal must be enclosed in ____________________ marks.​

(Short Answer)
4.9/5
(68)

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

(Multiple Choice)
4.9/5
(74)

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

(True/False)
4.8/5
(80)

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
(82)

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

(Multiple Choice)
4.9/5
(74)

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

(Short Answer)
4.8/5
(86)

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

(True/False)
4.7/5
(69)

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

(True/False)
5.0/5
(79)

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
(82)

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
(81)

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
(81)

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.8/5
(91)

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

(Essay)
4.8/5
(76)

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

(True/False)
4.8/5
(84)

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
(81)
Showing 1 - 20 of 121
close modal

Filters

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