Exam 7: SQL for Database Construction and Application Processing

arrow

8,754 students have unlocked this exam

  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

SQL views are updatable when the view is based on a single table with no computed columns,and all non-null columns are present in the view.

Free
(True/False)
4.8/5
(40)
Correct Answer:
Verified

True

Which SQL keyword is used to add one or more rows of data to a table?

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

B

The SQL keyword CONSTRAINT can be used in conjunction with the SQL keywords PRIMARY KEY and FOREIGN KEY.

Free
(True/False)
4.8/5
(41)
Correct Answer:
Verified

True

To set a column value to an initial value that is selected according to some complicated business logic,you would use the SQL DEFAULT constraint with the CREATE TABLE command.

(True/False)
4.8/5
(38)

Rows in a table can be changed by using the SQL UPDATE statement.

(True/False)
4.9/5
(36)

According to the SQL-92 standard,statements used to construct views cannot contain ________.

(Multiple Choice)
4.9/5
(37)

Which of the following illustrates the authors' preferred style of defining a primary key?

(Multiple Choice)
4.9/5
(35)

SQL triggers can be used when the DBMS receives a(n)________ request.

(Multiple Choice)
4.9/5
(38)

A stored program that is attached to the database is called ________.

(Multiple Choice)
4.8/5
(38)

SQL views are constructed from SELECT statements.

(True/False)
4.7/5
(40)

The following database will be used in this question: GENERAL SALES DATABASE: SALESREP The following database will be used in this question: GENERAL SALES DATABASE: SALESREP    CUSTOMER    Explain the use of the SQL statement CREATE TABLE.Do NOT discuss the ALTER statement in your answer,but DO include an example based on the SALESREP table in the General Sales database. CUSTOMER The following database will be used in this question: GENERAL SALES DATABASE: SALESREP    CUSTOMER    Explain the use of the SQL statement CREATE TABLE.Do NOT discuss the ALTER statement in your answer,but DO include an example based on the SALESREP table in the General Sales database. Explain the use of the SQL statement CREATE TABLE.Do NOT discuss the ALTER statement in your answer,but DO include an example based on the SALESREP table in the General Sales database.

(Essay)
4.8/5
(36)

The Oracle DBMS supports the SQL BEFORE trigger.

(True/False)
4.9/5
(43)

SQL triggers can be used with SQL operations INSERT,UPDATE,and DELETE.

(True/False)
4.8/5
(35)

Explain how relationships are created using SQL.Include an example.

(Essay)
4.7/5
(35)

SQL triggers are not used for ________.

(Multiple Choice)
4.8/5
(33)

Which of the following is an SQL trigger Microsoft SQL Server supports?

(Multiple Choice)
4.7/5
(36)

One or more rows can be added to a table by using the SQL INSERT statement.

(True/False)
4.8/5
(31)

Which SQL keyword is used to delete a table's structure?

(Multiple Choice)
4.8/5
(36)

The SQL keyword CHECK is used to limit column values to specific values.

(True/False)
4.9/5
(35)

The SQL command used to create a virtual table is ________.

(Multiple Choice)
4.7/5
(42)
Showing 1 - 20 of 104
close modal

Filters

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