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

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

(Multiple Choice)
4.8/5
(28)

Relational databases are heavily based on the mathematical concept of:

(Multiple Choice)
4.7/5
(34)

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

(True/False)
4.7/5
(25)

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

(Multiple Choice)
4.8/5
(33)

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

(Multiple Choice)
4.7/5
(29)

INSERT INTO is an example of ________ code.

(Multiple Choice)
4.9/5
(33)

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

(Essay)
4.8/5
(29)

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

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

(Multiple Choice)
4.8/5
(37)

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

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

(Multiple Choice)
4.7/5
(31)

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

(True/False)
4.7/5
(39)

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

(Multiple Choice)
4.8/5
(38)

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

(Multiple Choice)
4.8/5
(26)

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

(Multiple Choice)
4.8/5
(40)

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

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

(Multiple Choice)
4.9/5
(37)

The command for creating a database is:

(Multiple Choice)
4.8/5
(36)

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

(True/False)
5.0/5
(33)
Showing 81 - 100 of 105
close modal

Filters

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