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

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

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

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

(True/False)
4.9/5
(23)

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

(True/False)
4.8/5
(39)

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

(True/False)
4.9/5
(33)

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

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

SQL is a ________.

(Multiple Choice)
4.7/5
(33)

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

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

(True/False)
4.8/5
(33)

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

(True/False)
4.8/5
(33)

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

(Multiple Choice)
4.9/5
(39)

SQL statements end with a colon.

(True/False)
4.8/5
(33)

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

(True/False)
4.7/5
(39)

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

(Multiple Choice)
4.9/5
(35)

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

(Multiple Choice)
4.8/5
(32)

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

(True/False)
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)

What is SQL?

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

Filters

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