Exam 13: Views
Exam 1: Overview of Database Concepts108 Questions
Exam 2: Basic SQL Select Statements121 Questions
Exam 3: Table Creation and Management136 Questions
Exam 4: Constraints132 Questions
Exam 5: Data Manipulation and Transaction Control136 Questions
Exam 6: Additional Database Objects138 Questions
Exam 7: User Creation and Management130 Questions
Exam 8: Restricting Rows and Sorting Data132 Questions
Exam 9: Joining Data From Multiple Tables119 Questions
Exam 10: Selected Single-Row Functions133 Questions
Exam 11: Group Functions137 Questions
Exam 12: Subqueries and Merge Statements131 Questions
Exam 13: Views133 Questions
Select questions type
A view based on the contents of one table that uses an expression for one of the columns is considered a(n)____ view.
Free
(Multiple Choice)
4.8/5
(33)
Correct Answer:
B
A(n)____________________ view can contain group functions.
Free
(Short Answer)
4.9/5
(34)
Correct Answer:
complex
An inline view for "TOP-N" analysis is created by sorting data in descending order through the use of the ____________________ clause in the subquery.
Free
(Short Answer)
4.9/5
(32)
Correct Answer:
ORDER BY
An inline analysis can be used to find the "Top-N" values._________________________
(True/False)
4.9/5
(33)
If a view needs to be modified,it must be re-created using the ____________________ keywords in the CREATE VIEW command.
(Short Answer)
4.8/5
(39)
Which type of view is created with the following command?
CREATE VIEW OR REPLACE outstanding
AS SELECT customer#,order#,orderdate,shipdate
FROM orders
WHERE shipdate IS NULL
WITH READ ONLY;
(Multiple Choice)
4.9/5
(35)
"TOP-N" analysis is performed by sorting values in ascending or descending order in an inline view.
(True/False)
4.9/5
(32)
Which of the following types of views cannot include a GROUP BY clause?
(Multiple Choice)
4.9/5
(41)
Which statement about the view created from the following SQL command is correct,assuming ISBN from the BOOKS table is the primary key used by the view?
CREATE OR REPLACE VIEW prices
AS SELECT isbn,title,cost,retail,retail-cost profit,name
FROM books NATURAL JOIN publisher;
(Multiple Choice)
5.0/5
(36)
Which of the following describes a type of view that is based on a subquery that retrieves or derives data from one or more tables,and may also contain functions or grouped data?
(Multiple Choice)
4.9/5
(33)
Views can be used to restrict a user's access to sensitive data.
(True/False)
4.9/5
(41)
A(n)____________________ table is a table that contains the primary key being used by the view to uniquely identify each row displayed by the view.
(Short Answer)
4.8/5
(41)
Which type of view is created from the following SQL command?
CREATE OR REPLACE VIEW prices
AS SELECT isbn,title,cost,retail,retail-cost profit,name
FROM books NATURAL JOIN publisher;
(Multiple Choice)
4.8/5
(33)
Update operations cannot be performed through a complex view that contains an arithmetic expression.
(True/False)
4.9/5
(26)
Rows can be added through a complex view that is based upon grouped data.
(True/False)
4.8/5
(25)
A view can be dropped or deleted using the DELETE VIEW command._________________________
(True/False)
4.7/5
(44)
A(n)____________________ view cannot be created using a GROUP BY clause.
(Short Answer)
4.8/5
(28)
Showing 1 - 20 of 133
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)