Exam 2: Introduction to Structured Query Language

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

The Microsoft Access wildcard character "_" (underscore)indicates a single,unspecified character in a specific location in a Microsoft Access SQL query.

(True/False)
4.9/5
(33)

To obtain all columns,use an asterisk (*)wildcard character instead of listing all the column names.

(True/False)
4.8/5
(30)

While many subqueries can be alternatively written as joins,correlated subqueries do work that cannot be duplicated as a join.

(True/False)
4.8/5
(33)

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.8/5
(30)

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

(Multiple Choice)
4.8/5
(32)

The SQL built-in function AVG computes the average of values in numeric columns.

(True/False)
4.8/5
(35)

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

(True/False)
4.9/5
(40)

The INTERSECT of two relations A and B consists of all rows that are in relation B but are not in relation A.

(True/False)
4.8/5
(34)

An alternative to combining tables by a subquery is to use a join.

(True/False)
4.8/5
(42)

An ad-hoc SQL query is typically written within an application program.

(True/False)
4.8/5
(34)

In an SQL query,a join operation is achieved by specifying the equality of the respective column names as a condition in the WHERE clause.

(True/False)
4.8/5
(35)

Every subquery can be alternatively expressed by a join.

(True/False)
4.9/5
(35)

In an SQL query,which SQL keyword is used to sort the result table by the values in one or more columns?

(Multiple Choice)
4.8/5
(38)

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

(Multiple Choice)
4.8/5
(28)

Outer joins can be either up joins or down joins.

(True/False)
4.8/5
(40)

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.7/5
(33)

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

(True/False)
4.9/5
(34)

Columns can be sorted in descending sequence by using the SQL DESC keyword.

(True/False)
4.8/5
(38)

When two conditions must both be true for the rows to be selected,the conditions are separated by the SQL AND keyword.

(True/False)
4.8/5
(32)

In an SQL query,the built-in functions SUM and AVG work with columns containing data of which of the following data types?

(Multiple Choice)
4.8/5
(36)
Showing 41 - 60 of 114
close modal

Filters

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