Exam 2: Introduction to Structured Query Language

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

In an SQL query,which SQL keyword actually begins the query?

(Multiple Choice)
4.8/5
(38)

Arithmetic in SQL statements is limited to the operations provided by the built-in functions.

(True/False)
4.8/5
(38)

When people use the term join they normally mean an equijoin.

(True/False)
4.8/5
(31)

To refer to a set of values in a condition,the values are placed inside parentheses ( )and separated by commas.

(True/False)
5.0/5
(23)

In an SQL query,which SQL keyword is used with GROUP BY to select groups meeting specified criteria?

(Multiple Choice)
4.8/5
(43)

A WHERE clause can contain another SELECT statement enclosed in parentheses.

(True/False)
4.8/5
(30)

Distinguish between the HAVING clause and the WHERE clause.

(Essay)
4.8/5
(37)

In an SQL query,which SQL keyword is used to link two conditions that both must be true for the rows to be selected?

(Multiple Choice)
4.8/5
(33)

Given the table CUSTOMER(CustID,Name,PhoneNumber,AccountBalance),write the standard SQL query to retrieve the Name and PhoneNumber of customers whose name begins with 'S'.

(Essay)
4.7/5
(28)

In an SQL query,which of the following symbols is used by ANSI SQL to represent all the columns in a single table?

(Multiple Choice)
4.9/5
(37)

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

(Multiple Choice)
4.7/5
(37)

The built-in function SUM can be used with any column.

(True/False)
4.8/5
(30)

Given the table CUSTOMER(CustID,Name,PhoneNumber,AccountBalance),write the standard SQL query to retrieve the Name and PhoneNumber of customers with a balance greater than 50.

(Essay)
4.7/5
(27)

The SQL built-in function ADDUP totals values in numeric columns.

(True/False)
4.8/5
(33)

To remove duplicate rows from the result of a query,specify the SQL DISTINCT keyword.

(True/False)
4.9/5
(35)

The names of tables to be joined in an SQL query are listed in the FROM clause.

(True/False)
4.9/5
(29)

Suppose tables EMPLOYEE and CUSTOMER both store address information,and you want to send a letter to all employees and customers of your company to make a major announcement.Which SQL keyword would you most likely use here?

(Multiple Choice)
4.9/5
(24)

SQL includes a data definition language,a data manipulation language,and SQL/Persistent stored modules.

(True/False)
4.8/5
(37)

SQL stands for Standard Query Language.

(True/False)
4.7/5
(37)

Only two tables can be queried by using a subquery.

(True/False)
4.8/5
(25)
Showing 21 - 40 of 114
close modal

Filters

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