Exam 7: SQL for Database Construction and Application Processing

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

SQL triggers are used for ________.

(Multiple Choice)
4.8/5
(35)

Because SQL stored procedures allow and encourage code sharing among developers,stored procedures give database application developers the advantages of less work,standardized processing,and specialization among developers.

(True/False)
4.9/5
(35)

Based on the tables below,which of the following SQL statements would increase the balance of the Gonzales by $100 to a total of $450? GENERAL SALES DATABASE: SALESREP Based on the tables below,which of the following SQL statements would increase the balance of the Gonzales by $100 to a total of $450? GENERAL SALES DATABASE: SALESREP   CUSTOMER  CUSTOMER Based on the tables below,which of the following SQL statements would increase the balance of the Gonzales by $100 to a total of $450? GENERAL SALES DATABASE: SALESREP   CUSTOMER

(Multiple Choice)
4.8/5
(42)

SQL views are always updateable when ________.

(Multiple Choice)
5.0/5
(36)

To set a column value to an initial value that is selected according to some business logic,you would use:

(Multiple Choice)
4.7/5
(37)

The SQL keyword MODIFY is used to change a column value.

(True/False)
4.8/5
(34)

The SQL keyword UNIQUE is used to define alternative keys.

(True/False)
4.7/5
(38)

Which SQL statement is used to retrieve view instances?

(Multiple Choice)
4.8/5
(33)

Which SQL keyword is used to change the structure,properties or constraints of a table?

(Multiple Choice)
4.8/5
(41)

Given the SQL statement CREATE TABLE SALESREP ( SalesRepNo int NOT NULL, RepName char(35)NOT NULL, HireDate date NOT NULL, CONSTRAINT SalesRepPK PRIMARY KEY (SalesRepNo), CONSTRAINT SalesRepAK1 UNIQUE (RepName) ); We know that ________.

(Multiple Choice)
4.9/5
(37)

If the values in an SQL view are not changeable through the view itself,you may still be able to update the view by using unique application logic.In this case,the specific logic is placed in an INSTEAD OF trigger.

(True/False)
4.8/5
(43)

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

(True/False)
4.8/5
(30)

Data values to be added to a table are specified by using the SQL VALUES clause.

(True/False)
4.8/5
(43)

SQL views are constructed from ________.

(Multiple Choice)
4.9/5
(39)

The SQL syntax JOIN ...ON can be used as an alternate way of writing an SQL join statement.

(True/False)
5.0/5
(33)

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

(Multiple Choice)
5.0/5
(40)

An SQL virtual table is called a view.

(True/False)
4.7/5
(29)

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.

(True/False)
4.8/5
(33)

The SQL Server DBMS supports the SQL BEFORE trigger.

(True/False)
4.8/5
(42)

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.7/5
(27)
Showing 61 - 80 of 105
close modal

Filters

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