Filters
Question type

Study Flashcards

The following database will be used in this question: GENERAL SALES DATABASE: SALESREP The following database will be used in this question: GENERAL SALES DATABASE: SALESREP    CUSTOMER    Explain the use of the SQL keyword LIKE.Include an example based on the CUSTOMER table from the General Sales database;use at least one wildcard. CUSTOMER The following database will be used in this question: GENERAL SALES DATABASE: SALESREP    CUSTOMER    Explain the use of the SQL keyword LIKE.Include an example based on the CUSTOMER table from the General Sales database;use at least one wildcard. Explain the use of the SQL keyword LIKE.Include an example based on the CUSTOMER table from the General Sales database;use at least one wildcard.

Correct Answer

verifed

verified

The LIKE keyword is used in the WHERE cl...

View Answer

The clause SELECT COUNT (*)results in a table with a single row and a single column.

Correct Answer

verifed

verified

To refer to a set of values needed for a condition,use the SQL IN operator.

Correct Answer

verifed

verified

Joins that show the matching rows from the joined tables plus unmatched rows from one other table in their results are called outer joins.

Correct Answer

verifed

verified

An asterisk (*)following the SELECT verb means that all columns are to be displayed.

Correct Answer

verifed

verified

The SQL wildcard character "%" represents a series of one or more unspecified characters.

Correct Answer

verifed

verified

In an SQL query,which built-in function is used to compute the number of rows in a table?


A) AVG
B) COUNT
C) MAX
D) SUM

Correct Answer

verifed

verified

The SQL syntax JOIN ...ON can be used as an alternate way of writing an SQL join statement.

Correct Answer

verifed

verified

What is SQL?

Correct Answer

verifed

verified

Structured Query Language (SQL)is used t...

View Answer

Suppose your company stores EMPLOYEE and CUSTOMER data in separate tables.If you want to find all employees who are also customers,which SQL keyword would you most likely use?


A) INTERSECT
B) UNION
C) EXCEPT
D) UNION ALL

Correct Answer

verifed

verified

To sort the rows of the result table,the ORDER BY clause is specified.

Correct Answer

verifed

verified

In an SQL query,which of the following symbols is used by ANSI SQL to represent a single unspecified character?


A) _ (underscore)
B) ?? (question mark)
C) * (asterisk)
D) % (percent)

Correct Answer

verifed

verified

To have SQL automatically eliminate duplicate rows from a result,use the keyword DISTINCT with the FROM keyword.

Correct Answer

verifed

verified

SQL is not a complete programming language.Rather it is a data sublanguage.

Correct Answer

verifed

verified

SQL is a ________.


A) data sublanguage
B) data manipulation language
C) data definition language
D) programming language

Correct Answer

verifed

verified

In an SQL query,which built-in function is used to compute the average value of numeric columns?


A) AVG
B) MEAN
C) MAX
D) SUM

Correct Answer

verifed

verified

The SQL WHERE clause contains the condition that specifies which rows are to be selected.

Correct Answer

verifed

verified

The rows of the result table can be sorted by the values in one or more columns.

Correct Answer

verifed

verified

In an SQL query,which SQL keyword is used to implement a subquery?


A) GROUP BY
B) HAVING
C) ORDER BY
D) SELECT

Correct Answer

verifed

verified

The SQL wildcard character "#" indicates a single,unspecified character in a specific location in an SQL query.

Correct Answer

verifed

verified

Showing 81 - 100 of 114

Related Exams

Show Answer