Exam 6: Introduction to SQL

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

Every SELECT statement returns a ________ when it executes.

(Short Answer)
4.9/5
(40)

Which of the following is a purpose of the SQL standard?

(Multiple Choice)
4.8/5
(31)

What were the original purposes of SQL and does SQL as we know it today live up to those standards?

(Essay)
4.7/5
(26)

The SQL command ________ defines a logical table from one or more tables or views.

(Multiple Choice)
4.8/5
(30)

Count(*)tallies only those rows that contain a value,while Count counts all rows.

(True/False)
4.7/5
(34)

What are some of the standard SQL functions that can be used in the select clause?

(Essay)
4.7/5
(36)

What result set is returned from the following query? Select customer_name,telephone From customers Where city in ('Boston','New York','Denver');

(Multiple Choice)
4.9/5
(36)

The ORDER BY clause sorts the final results rows in ascending or descending order.

(True/False)
4.8/5
(39)

The WHERE clause includes the conditions for row selection within a single table or view,and the conditions between tables or views for joining.

(True/False)
4.8/5
(25)

What result will the following SQL statement produce? Select Avg(standard_price)as average from product_v;

(Multiple Choice)
5.0/5
(31)

The comparison operators ________ and ________ are used to establish a range of values in SQL.

(Short Answer)
4.8/5
(36)

SQL has been implemented only in the mainframe and midrange environments.

(True/False)
4.8/5
(27)

Adding the DISTINCT keyword to a query eliminates duplicates.

(True/False)
4.8/5
(37)

The structure that contains descriptions of objects created by a user,such as base tables and views is called a(n)________.

(Short Answer)
4.8/5
(35)

________ is a set of commands used to control a database,which includes security.

(Multiple Choice)
4.9/5
(35)

When a GROUP BY clause is included in an SQL statement,only those columns with a single value for each group can be included.

(True/False)
4.8/5
(33)

The SQL command used to populate tables is the INSERT command.

(True/False)
4.9/5
(22)

What will be returned when the following SQL statement is executed? Select driver_no,count(*)as num_deliveries From deliveries Where state = 'MA' Group by driver_no;

(Multiple Choice)
4.8/5
(30)

The following two SQL statements will produce different results. Select last_name,first_name from customer where state = 'MA' or state = 'NY' or state = 'NJ' or state = 'NH' or state = 'CT'; Select last_name,first_name from customer where state in ('MA','NY','NJ','NH','CT');

(True/False)
4.9/5
(33)

When using an expression in SQL,expressions inside the ________ will be calculated first.

(Short Answer)
4.9/5
(31)
Showing 61 - 80 of 119
close modal

Filters

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