Exam 2: Basic Sql Select Statements

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

A user can indicate that all columns of a table should be displayed in the results of a SELECT statement by including an asterisk (*) in the SELECT clause.

Free
(True/False)
4.9/5
(43)
Correct Answer:
Verified

True

____________________ statements can be used to retrieve data from database tables.

Free
(Short Answer)
4.8/5
(35)
Correct Answer:
Verified

SELECT

The asterisk symbol (*) can be used in a SELECT statement to indicate that all rows in the table should be displayed in the results.

Free
(True/False)
4.9/5
(34)
Correct Answer:
Verified

False

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 two columns in its output? -Based upon the contents of the BOOKS table, which of the following SQL statements will display two columns in its output?

(Multiple Choice)
4.7/5
(28)

If the results of a SELECT statement include more than one column of data, the column names must be separated in the SELECT clause by which of the following symbols?

(Multiple Choice)
5.0/5
(37)

What are the mandatory clauses of a SELECT statement and what do they represent?

(Essay)
4.9/5
(35)

Combining the contents of two or more columns is known as ____________________.

(Short Answer)
4.8/5
(29)

Structure of the ORDERS table Structure of the ORDERS table    -Which of the following is a valid SQL statement to retrieve data from the ORDERS table? -Which of the following is a valid SQL statement to retrieve data from the ORDERS table?

(Multiple Choice)
4.8/5
(32)

A(n)  WHERE \underline { \text { WHERE } } statement allows a user to retrieve data from a database table. _________________________

(True/False)
4.8/5
(38)

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

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

Which of the following is a mandatory clause in a SELECT statement?

(Multiple Choice)
4.9/5
(37)

Contents of the BOOKS table Contents of the BOOKS table    -Which of the following will display the ISBN column of the BOOKS table as the first column in its results? -Which of the following will display the ISBN column of the BOOKS table as the first column in its results?

(Multiple Choice)
4.8/5
(28)

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

(Multiple Choice)
4.8/5
(35)

A script file containing SQL statements can be executed from SQL*Plus.

(True/False)
4.8/5
(38)

The ____________________ keyword can be included in a SELECT statement to suppress the display of duplicate data.

(Short Answer)
4.7/5
(30)

If you assign a column alias to a column, it must be enclosed in double quotation marks (" ").

(True/False)
4.8/5
(28)

By default, data within a numeric column is  right \underline {\text { right } } -aligned when it is displayed. _________________________

(True/False)
4.9/5
(33)

If a column heading is longer than the assigned width of a character column, the column heading will be ____________________.

(Short Answer)
4.7/5
(36)

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.9/5
(37)
Showing 1 - 20 of 122
close modal

Filters

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