Exam 13: Views

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

​The ____________________ keyword can be used to create a view based upon a table that does not yet exist.

(Short Answer)
4.9/5
(94)

​How is a "TOP-N" analysis performed?

(Essay)
4.7/5
(81)

An inline view is a temporary table that only lasts for the duration of the SELECT statement used to create it.​

(True/False)
4.9/5
(88)

The pseudo column ROW can be used to perform a "TOP-N" analysis._________________________​

(True/False)
4.7/5
(73)

Rows in an underlying table cannot be deleted through a complex view that contains an arithmetic operation.​

(True/False)
4.8/5
(76)

Rows cannot be added to a table through a complex view that is based on a group function._________________________​

(True/False)
4.8/5
(69)

Which statement about the view created from the following SQL statement is correct? CREATE VIEW balancedue AS SELECT customer#,order#,SUM(quantity*retail)amtdue FROM customers NATURAL JOIN orders NATURAL JOIN Orderitems NATURAL JOIN books GROUP BY customer#,order#;

(Multiple Choice)
4.7/5
(73)

Values cannot be inserted through a view into columns that are based on arithmetic expressions.​

(True/False)
4.8/5
(77)

Which of the following describes a type of view that is based upon a subquery that only references one table and does not include any group functions,expressions,or GROUP BY clauses?​

(Multiple Choice)
4.9/5
(91)

Any DDL operation can be performed on a simple view that was not created with the WITH READ ONLY option,unless it violates an existing constraint._________________________​

(True/False)
4.8/5
(81)

Which statement is not true about the view created with the following command? CREATE VIEW inventory AS SELECT isbn,title,retail price FROM books;

(Multiple Choice)
4.9/5
(78)

"TOP-N" analysis can be used to find the highest values in a column by sorting the data in ascending order._________________________​

(True/False)
4.8/5
(74)

A simple view is based upon a subquery that references only one table and doesn't contain any group functions,expressions,or a GROUP BY clause.​

(True/False)
4.8/5
(84)

​____________________ analysis could be used to find the top five values stored in a column.

(Short Answer)
4.7/5
(78)

A(n)complex view can contain data from more than one table._________________________​

(True/False)
4.8/5
(75)

​Any DML operation can be performed on a(n)____________________ view as long as the view was not created with the WITH READ ONLY option and existing constraints are not violated.

(Short Answer)
4.8/5
(85)

​Which type of view is created with the following command? ​ CREATE VIEW inventory AS SELECT isbn,title,retail price FROM books WITH READ ONLY;

(Multiple Choice)
4.8/5
(88)

​Which statement is true about the view created with the following command? CREATE OR REPLACE VIEW inventory AS SELECT isbn,title,retail price FROM books;

(Multiple Choice)
4.7/5
(83)

Which type of view is created by the following command? CREATE VIEW OR REPLACE outstanding AS SELECT customer#,order#,orderdate,shipdate FROM orders WHERE shipdate IS NULL;

(Multiple Choice)
5.0/5
(80)

The WITHOUT UPDATE keywords prevent DML operations from being performed through a view._________________________​

(True/False)
4.7/5
(87)
Showing 81 - 100 of 133
close modal

Filters

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