Exam 5: Introduction to SQL

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

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

What steps should be followed when preparing to create a table?

(Essay)
4.8/5
(33)

Implementation of a standard can never stifle creativity and innovation.

(True/False)
4.8/5
(31)

Discuss when to use the GROUP BY clause.

(Essay)
4.8/5
(32)

Expressions are mathematical manipulations of data in a table that may be included as part of the SELECT statement.

(True/False)
4.9/5
(31)

What result set will the following query return? SELECT Item_No FROM Order_V WHERE quantity > 10;

(Multiple Choice)
4.8/5
(35)

Indexes are created in most RDBMSs to:

(Multiple Choice)
4.9/5
(35)

Adding the DISTINCT keyword to a query eliminates duplicates.

(True/False)
4.7/5
(31)

Which of the following counts ONLY rows that contain a value?

(Multiple Choice)
4.8/5
(31)

What will be returned when the following SQL query is executed? SELECT driver_no, COUNT(*) as num_deliveries FROM deliveries GROUP BY driver_no HAVING COUNT(*) > 2;

(Multiple Choice)
4.7/5
(32)

A single value returned from an SQL query that includes an aggregate function is called a vector aggregate.

(True/False)
4.9/5
(34)

The views are created by executing a CREATE VIEW SQL command.

(True/False)
4.8/5
(32)

What does the following SQL statement do? ALTER TABLE Customer_T ADD (Type Varchar (2));

(Multiple Choice)
4.9/5
(35)

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

(Essay)
4.9/5
(36)

A view may not be updated directly if it contains:

(Multiple Choice)
4.9/5
(37)

When the SELECT clause in the create view statement contains the keyword DISTINCT, the view can be used to update data.

(True/False)
4.8/5
(39)

What is a materialized view, and when would it be used?

(Essay)
4.8/5
(28)

The first part of an SQL query to be read is the ________ statement.

(Multiple Choice)
4.7/5
(36)

What does the following SQL statement do? SELECT * From Customer WHERE Cust_Type = "Best"

(Multiple Choice)
4.7/5
(27)

The last part of an SQL query to be read is the ________ statement.

(Multiple Choice)
4.7/5
(27)
Showing 41 - 60 of 102
close modal

Filters

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