Exam 2: Introduction to Structured Query Language SQL

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

To exclude one or more values using a condition,the SQL OUT keyword must be used.

(True/False)
4.9/5
(60)

Two or more tables are joined by giving the table names in the WHERE clause and specifying the equality of the respective column names as a condition in the GROUP BY clause.

(True/False)
4.8/5
(78)

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

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

(True/False)
4.9/5
(67)

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

(True/False)
4.8/5
(82)

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

(True/False)
4.9/5
(81)

In an SQL query,which SQL keyword is used to determine if a column value is equal to any one of a set of values?

(Multiple Choice)
4.8/5
(83)

Given a table with the structure: EMPLOYEE (EmpNo,Name,Salary,HireDate),which of the following is not a valid ANSI SQL command?

(Multiple Choice)
4.8/5
(81)

SQL is a ________.

(Multiple Choice)
4.7/5
(69)

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

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

(True/False)
4.7/5
(74)

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

(True/False)
4.8/5
(87)

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

(Multiple Choice)
4.9/5
(80)

SQL statements end with a colon.

(True/False)
4.7/5
(66)

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

(True/False)
4.8/5
(93)

When making an SQL query,we are using SQL as a(n)________.

(Multiple Choice)
4.9/5
(74)

In an SQL query,which SQL keyword is used to specify the table(s)to be used?

(Multiple Choice)
4.8/5
(88)

The SQL built-in function MIN obtains the smallest value in a numeric column.

(True/False)
4.9/5
(82)

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
(73)

What is SQL?

(Essay)
4.8/5
(81)
Showing 61 - 80 of 105
close modal

Filters

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