Question
Consider the following view, DEPT_SUMMARY, defined on the COMPANY database IN Figure 3.6: State which of the following queries and updates would be allowed on
Consider the following view, DEPT_SUMMARY, defined on the COMPANY database IN Figure 3.6:
State which of the following queries and updates would be allowed on the view. If a query or update would be allowed, show what the corresponding query or update on the base relations would look like, and give its result when applied to the database of Figure 3.6.
Figure 3.6
CREATE VIEW DEPT SUMMARY (D. C. TOTALS, AVERAGE_S) AS SELECT DNO, COUNT ("), SUM (SALARY), AVG (SALARY) FROM EMPLOYEE GROUP BY DNO:
Step by Step Solution
3.38 Rating (154 Votes )
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Database Systems A Practical Approach to Design Implementation and Management
Authors: Thomas Connolly, Carolyn Begg
6th Edition Global
132943263, 978-0132943260
Students also viewed these Databases questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App