Exam 6: Introduction to SQL

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

Explain the three classes of SQL commands and when they would be used.

(Essay)
4.7/5
(92)

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

(Multiple Choice)
4.8/5
(73)

Relational databases are heavily based on the mathematical concept of:

(Multiple Choice)
4.7/5
(83)

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

(True/False)
4.8/5
(72)

The SQL command ________ adds one or more new columns to a table.

(Multiple Choice)
4.8/5
(82)

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

(Multiple Choice)
4.8/5
(74)

INSERT INTO is an example of ________ code.

(Multiple Choice)
4.9/5
(83)

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

(Essay)
4.8/5
(71)

The following query totals sales in state= 'MA' for each salesperson. Select salesperson_id, sum(sales) from salesperson group by salesperson_id having state = 'MA';

(True/False)
4.8/5
(101)

To eliminate duplicate rows in a query, the ________ qualifier is used in the SQL Select command.

(Multiple Choice)
4.8/5
(87)

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

What does the following SQL statement do? Select * From Customer Where Cust_Type = "Best"

(Multiple Choice)
4.7/5
(76)

SQL is both an American and international standard for database access.

(True/False)
4.7/5
(93)

What does the following SQL statement do? Delete from Customer_T Where state = 'HI';

(Multiple Choice)
4.9/5
(88)

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

(Multiple Choice)
4.8/5
(60)

________ is a set of commands used to update and query a database.

(Multiple Choice)
4.8/5
(91)

What results will be produced by the following SQL query? Select sum(standard_price) as Total_Price From Product_V Where Product_Type = 'WOOD';

(Multiple Choice)
4.9/5
(83)

Which of the following questions is answered by the SQL statement? Select Count (Product_Description) from Product_T;

(Multiple Choice)
4.9/5
(78)

The command for creating a database is:

(Multiple Choice)
4.7/5
(75)

The DELETE TABLE DDL command is used to remove a table from the database.

(True/False)
4.9/5
(78)
Showing 81 - 100 of 105
close modal

Filters

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