Filters
Question type

Study Flashcards

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

Correct Answer

verifed

verified

Instead of including every column in the SELECT clause,you can use an ampersand (&)to indicate that you want to include all columns.​

A) True
B) False

Correct Answer

verifed

verified

When you need to sort data on two columns,the less important column is called the ____ sort key.​


A) double
B) ​primary
C) minor
D) ​foreign

E) C) and D)
F) All of the above

Correct Answer

verifed

verified

Describe simple and compound conditions.​

Correct Answer

verifed

verified

A simple condition has this form: column...

View Answer

A simple condition has the form: column name,comparison operator,and then either another column name or a value.​

A) True
B) False

Correct Answer

verifed

verified

A(n)____________________ column is a column that does not exist in the database but can be computed using data in the existing columns.​

Correct Answer

verifed

verified

Preceding a condition by the NOT operator reverses the truth of the original condition.​

A) True
B) False

Correct Answer

verifed

verified

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


A) WHERE
B) ​SELECT
C) FROM
D) ​SET

E) All of the above
F) B) and C)

Correct Answer

verifed

verified

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


A) SUM
B) ​COUNT
C) MAX
D) ​MIN

E) C) and D)
F) A) and C)

Correct Answer

verifed

verified

When you need to sort data on two columns,the more important column is called the ____________________ sort key.​

Correct Answer

verifed

verified

The UNIQUE operator eliminates duplicate values in a query.​

A) True
B) False

Correct Answer

verifed

verified

To specify that query results be listed in a specific order,use the SORT BY clause.​

A) True
B) False

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

The COUNT function only applies to columns with numeric values.​

A) True
B) False

Correct Answer

verifed

verified

When the ____________________ operator connects simple conditions,all the simple conditions must be true in order for the compound condition to be true.​

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

____________________ creates groups of rows that share some common characteristic.​

Correct Answer

verifed

verified

In the SELECT clause,you can use the ____ symbol to indicate that you want to include all columns.​


A) \
B) ​/
C) *
D) ​?

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

The ____ operator finds rows that do not contain a null value in the specified column.​


A) IS NULL
B) ​NOT NULL
C) !NULL
D) ​IS NOT NULL

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

Preceding a condition by the ____ operator reverses the truth of the original condition.​


A) REVERSE
B) ​NOT
C) NULL
D) ​OR

E) C) and D)
F) B) and D)

Correct Answer

verifed

verified

Showing 41 - 60 of 75

Related Exams

Show Answer