SQL -Structured Query Language - SQL View - Create View Quiz
# | Quiz | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1
Discuss
|
Create View
Which of the following creates a virtual relation for storing the query?
Solution |
||||||||||||||||||||||||||||
2
Discuss
|
Create View
Which of the following is the syntax for views where v is view name?
Solution |
||||||||||||||||||||||||||||
3
Discuss
|
Create View
Here the tuples are selected from the view.Which one denotes the view.
Solution |
||||||||||||||||||||||||||||
4
Discuss
|
Create View
Materialized views make sure that
Solution |
||||||||||||||||||||||||||||
5
Discuss
|
Create View
Updating the value of the view
Solution |
||||||||||||||||||||||||||||
6
Discuss
|
Create View
SQL view is said to be updatable (that is, inserts, updates or deletes can be applied on the view) if which of the following conditions are satisfied by the query defining the view?
Solution |
||||||||||||||||||||||||||||
7
Discuss
|
Create View
Which of the following is used at the end of the view to reject the tuples which do not satisfy the condition in where clause?
Solution |
||||||||||||||||||||||||||||
8
Discuss
|
Create View
Consider the two relations instructor and department
Department:
Which of the following is used to create view for these relations together?
Solution |
||||||||||||||||||||||||||||
9
Discuss
|
Create View
For the view Create view instructor_info as
If we insert tuple into the view as insert into instructor info values (’69987’, ’White’, ’Taylor’);
Solution |
||||||||||||||||||||||||||||
10
Discuss
|
Create View
Find the error in this query.
Solution |
||||||||||||||||||||||||||||
# | Quiz |