Exam 7: Sql for Database Construction and Application Processing

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

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     What is an SQL view,and what is it used for? Include an example based on the CUSTOMER table of the General Sales Database. CUSTOMER The following database will be used in this question: GENERAL SALES DATABASE: SALESREP     CUSTOMER     What is an SQL view,and what is it used for? Include an example based on the CUSTOMER table of the General Sales Database. What is an SQL view,and what is it used for? Include an example based on the CUSTOMER table of the General Sales Database.

(Essay)
4.7/5
(27)

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

(True/False)
4.8/5
(26)

The SQL command SELECT is used to retrieve view instances.

(True/False)
4.9/5
(32)

Based on the tables below,which of the following SQL statements would increase the balance of the Gonzales account 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 account 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 account by $100 to a total of $450? GENERAL SALES DATABASE: SALESREP   CUSTOMER

(Multiple Choice)
4.9/5
(33)

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

Which of the following is an SQL trigger Oracle supports?

(Multiple Choice)
4.9/5
(34)

The SQL Server DBMS supports the SQL BEFORE trigger.

(True/False)
4.8/5
(30)

Which SQL keyword is used to name a new table and describe the table's columns?

(Multiple Choice)
4.9/5
(32)

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

(Multiple Choice)
4.8/5
(37)

The SQL SET keyword is used to specify a new value when changing a column value.

(True/False)
4.8/5
(34)

SQL views are constructed from SELECT statements.

(True/False)
4.9/5
(37)

SQL triggers use the ANSI SQL keywords BEFORE,INSTEAD OF,and AFTER.

(True/False)
4.8/5
(38)

The Oracle DBMS supports the SQL BEFORE trigger.

(True/False)
4.9/5
(30)

SQL triggers can be used when the DBMS receives an INSERT request.

(True/False)
4.8/5
(30)

Unless it is being used to copy data from one table to another,the SQL INSERT statement can be used to insert only a single row into a table.

(True/False)
4.9/5
(27)

Which SQL keyword is used to change one or more rows in a table?

(Multiple Choice)
4.9/5
(40)

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

(Multiple Choice)
4.9/5
(31)

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

(True/False)
4.8/5
(34)

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

(Multiple Choice)
4.9/5
(35)

The SQL keyword UNIQUE is used to define alternative keys.

(True/False)
4.9/5
(34)
Showing 21 - 40 of 100
close modal

Filters

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