Filters
Question type

Study Flashcards

SQL views are constructed from:


A) CREATE statements.
B) INSERT statements.
C) UPDATE statements.
D) SELECT statements.
E) VIEW statements.

Correct Answer

verifed

verified

A stored program that is attached to a table or view is called a stored procedure.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

SQL views can be used to layer ________.

Correct Answer

verifed

verified

built-in S...

View Answer

A stored program that is attached to a table or view is called ________.


A) a CHECK constraint
B) a view
C) embedded SQL
D) a trigger
E) a stored procedure

Correct Answer

verifed

verified

SQL triggers are used for providing default values,validity checking,updating views,and performing referential integrity actions.

Correct Answer

verifed

verified

SQL views can be used to layer built-in SQL functions.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

CREATE VIE...

View Answer

Use the database below to answer the following question. GENERAL SALES DATABASE: SALESREP  SalesRepNo  RepName  HireDate 654 Jones 01/02/1999734 Smith 02/03/2000345 Chen 01/25/1998434 Johnson 11/23/1998\begin{array}{|l|l|l|}\hline \text { SalesRepNo } & \text { RepName } & \text { HireDate } \\\hline 654 & \text { Jones } & 01 / 02 / 1999 \\\hline 734 & \text { Smith } & 02 / 03 / 2000 \\\hline 345 & \text { Chen } & 01 / 25 / 1998 \\\hline 434 & \text { Johnson } & 11 / 23 / 1998 \\\hline\end{array} CUSTOMER  CustNo  CustName  Balance  SalesRepNo 9870 Winston 5003458590 Gonzales 3504347840 Harris 8006544870 Miles 100345\begin{array}{|l|l|l|l|}\hline \text { CustNo } & \text { CustName } & \text { Balance } & \text { SalesRepNo } \\\hline 9870 & \text { Winston } & 500 & 345 \\\hline 8590 & \text { Gonzales } & 350 & 434 \\\hline 7840 & \text { Harris } & 800 & 654 \\\hline 4870 & \text { Miles } & 100 & 345\end{array} What is an SQL view,and what is it used for? Include an example based on the CUSTOMER table of the General Sales Database.

Correct Answer

verifed

verified

An SQL view is a virtual table construct...

View Answer

The SQL keyword ________ can be used with SELECT statements retrieving view instances to sort the results of the SELECT.

Correct Answer

verifed

verified

The SQL statement ALTER EXISTING VIEW ViewName AS is used to modify a view.

Correct Answer

verifed

verified

The SQL statement used to delete a view from a database is:


A) ALTER EXISTING VIEW ViewName AS.
B) ALTER VIEW ViewName AS.
C) DELETE VIEW ViewName.
D) DROP EXISTING VIEW ViewName.
E) DROP VIEW ViewName.

Correct Answer

verifed

verified

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


A) a CHECK constraint
B) a view
C) embedded SQL
D) a trigger
E) a stored procedure

Correct Answer

verifed

verified

Although it cannot be used in creating an SQL VIEW,the SQL SELECT statements retrieving view instances can include:


A) SQL keyword ORDER BY.
B) SQL keyword LIKE.
C) SQL keyword BETWEEN.
D) SQL keyword NULL.
E) SQL keyword NOT NULL.

Correct Answer

verifed

verified

SQL views can be used to hide rows.

Correct Answer

verifed

verified

SQL views can be used to display the results of computed columns.

Correct Answer

verifed

verified

Microsoft Access supports standard SQL view statements.

Correct Answer

verifed

verified

Microsoft Access queries:


A) can use previously stored view equivalent Access queries.
B) cannot use previously stored view equivalent Access queries for any purpose.
C) cannot use previously stored view equivalent Access queries to hide rows.
D) cannot use previously stored view equivalent Access queries to hide columns.
E) cannot use previously stored view equivalent Access queries to hide complicated SQL syntax.

Correct Answer

verifed

verified

SQL statements used to construct views cannot contain the WHERE clause.

Correct Answer

verifed

verified

SQL triggers are used for ________.


A) validity checking
B) providing default values
C) updating views
D) A and B
E) A,B,and C

Correct Answer

verifed

verified

Showing 21 - 40 of 70

Related Exams

Show Answer