Exam 2: Introduction to Structured Query Language SQL

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

In an SQL query,which SQL keyword must be used to remove duplicate rows from the result table?

Free
(Multiple Choice)
4.8/5
(27)
Correct Answer:
Verified

B

In an SQL query,which SQL keyword is used to specify the column names to be used in a join?

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

E

The SQL keyword FROM is used to specify the table to be used.

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

True

SQL commands can be embedded in application programs.

(True/False)
4.8/5
(39)

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

(True/False)
4.8/5
(36)

Given a table with the structure: EMPLOYEE (EmpNo,Name,Salary,HireDate),which of the following would find all employees whose name begins with the letter "S" using standard SQL?

(Multiple Choice)
4.7/5
(35)

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

(Multiple Choice)
5.0/5
(42)

SQL stands for Standard Query Language.

(True/False)
4.9/5
(37)

Based on the tables below,which of the following ANSI SQL commands would return the average customer balance grouped by SalesRepNo? GENERAL SALES DATABASE: SALESREP Based on the tables below,which of the following ANSI SQL commands would return the average customer balance grouped by SalesRepNo? GENERAL SALES DATABASE: SALESREP   CUSTOMER  CUSTOMER Based on the tables below,which of the following ANSI SQL commands would return the average customer balance grouped by SalesRepNo? GENERAL SALES DATABASE: SALESREP   CUSTOMER

(Multiple Choice)
4.8/5
(35)

The Microsoft Access wildcard character "*" (asterisk)indicates a sequence of one or more unspecified characters in a Microsoft Access SQL query.

(True/False)
4.9/5
(31)

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

(Multiple Choice)
4.8/5
(32)

SQL,although very popular,has never become a national standard.

(True/False)
4.8/5
(37)

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

(True/False)
4.9/5
(29)

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

(True/False)
4.8/5
(35)

Based on the tables below,which of the following commands in ANSI SQL would return only the name of the sales representative and the name of the customer for each customer that has a balance greater than 400? GENERAL SALES DATABASE: SALESREP Based on the tables below,which of the following commands in ANSI SQL would return only the name of the sales representative and the name of the customer for each customer that has a balance greater than 400? GENERAL SALES DATABASE: SALESREP   CUSTOMER  CUSTOMER Based on the tables below,which of the following commands in ANSI SQL would return only the name of the sales representative and the name of the customer for each customer that has a balance greater than 400? GENERAL SALES DATABASE: SALESREP   CUSTOMER

(Multiple Choice)
4.9/5
(39)

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

(True/False)
4.8/5
(32)

When one SQL query is embedded in another SQL query,the first SQL query can still contain an SQL ________ clause.

(Multiple Choice)
4.9/5
(31)

A nested SELECT statement (one that appears within the WHERE clause of another SQL statement)is called a subquery and must be enclosed in parentheses.

(True/False)
4.8/5
(32)

The SQL keyword SELECT is used to specify the columns to be listed in the query results.

(True/False)
4.7/5
(41)

SQL is a ________.

(Multiple Choice)
4.9/5
(37)
Showing 1 - 20 of 100
close modal

Filters

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