Exam 4: Single-Table Queries

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

When you use the ____ function, you can use the asterisk (*) to represent any column.

Free
(Multiple Choice)
4.9/5
(37)
Correct Answer:
Verified

B

You can use computed columns in comparisons.

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

True

After the word FROM in a SELECT statement, you list any conditions (restrictions) that apply to the data you want to retrieve.

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

False

When data is sorted on two columns, the more important column is called the major sort key.

(True/False)
4.8/5
(35)

SQL requires that you follow special formatting rules.

(True/False)
4.9/5
(43)

You use the ____________________ clause to retrieve rows that satisfy some condition.

(Short Answer)
4.7/5
(40)

In SQL for Oracle and for SQL Server, the ____ symbol is used as a wildcard to represent any collection of characters.

(Multiple Choice)
4.7/5
(42)

The UNIQUE operator eliminates duplicate values in a query.

(True/False)
4.8/5
(36)

It is possible to place one query inside another.

(True/False)
4.8/5
(36)

The only arithmetic operators that can be used in SELECT statements are + for addition and - for subtraction.

(True/False)
4.9/5
(37)

When you use the ____________________ function, you must specify the column to total, and the column data type must be numeric.

(Short Answer)
4.8/5
(34)

Aggregate functions apply to groups of rows.

(True/False)
4.9/5
(39)

In SQL, you use the ____ command to query a database.

(Multiple Choice)
4.7/5
(28)

You use the ____ clause to list data in a specific order.

(Multiple Choice)
4.9/5
(37)

When you query a database, there is a defined order in which the results are displayed.

(True/False)
4.9/5
(40)

You can assign a name to a computed column by following the computation with the word ____________________ and the desired name.

(Short Answer)
4.8/5
(34)

The WHERE clause is used to limit the rows that are included in a query's result.

(True/False)
4.7/5
(36)

When the OR operator connects simple conditions, the compound condition will be true whenever any one of the simple conditions is true.

(True/False)
4.8/5
(27)

In a SELECT statement, the FROM clause and the WHERE clause (when used) must appear on separate lines.

(True/False)
4.9/5
(29)

To sort records in descending order, follow the name of the sort key with the REVERSE operator.

(True/False)
4.7/5
(27)
Showing 1 - 20 of 75
close modal

Filters

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