Exam 5: Introduction to SQL

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

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

(True/False)
4.9/5
(83)

A database table is defined using the data definition language (DDL).

(True/False)
4.7/5
(69)

The ________ is the structure that contains descriptions of objects such as tables and views created by users.

(Multiple Choice)
4.9/5
(69)

Multiple values returned from an SQL query that includes an aggregate function are called:

(Multiple Choice)
4.7/5
(73)

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

The WHERE clause is always processed before the GROUP BY clause when both occur in a SELECT statement.

(True/False)
4.8/5
(88)

Discuss the pros and cons of using dynamic views.

(Essay)
4.8/5
(88)

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

The following INSERT command would work fine: INSERT INTO budget values 121,222,111;

(True/False)
4.9/5
(92)

DDL is typically used during which phase of the development process?

(Multiple Choice)
4.8/5
(74)

What are some of the advantages and disadvantages to an SQL standard?

(Essay)
4.8/5
(85)

A database is maintained and queried using the data mapping language (DML).

(True/False)
4.9/5
(76)

The command for creating a database is:

(Multiple Choice)
4.7/5
(90)

Given a table named store with 5 fields: store_id, address, city, state, zipcode, why would the following insert command not work? INSERT INTO store values ('234 Park Street')

(Multiple Choice)
4.7/5
(71)

To get all the customers from Hawaii sorted together, which of the following would be used?

(Multiple Choice)
4.7/5
(77)

Some DBMS can handle graphic data types as well as text and numbers.

(True/False)
4.7/5
(65)

What does the following SQL statement do? DELETE FROM Customer_T WHERE state = 'HI';

(Multiple Choice)
4.8/5
(75)

INSERT INTO is an example of ________ code.

(Multiple Choice)
4.9/5
(77)

The command for removing a table is:

(Multiple Choice)
4.8/5
(79)

Applications can be moved from one machine to another when each machine uses SQL.

(True/False)
4.8/5
(91)
Showing 21 - 40 of 102
close modal

Filters

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