Give an example of a view on emp that would be impossible to

Assignment Help Database Management System
Reference no: EM13509179

Brie?y answer the following questions based on this schema:

Emp(eid: integer, ename: string, age: integer, salary: real) Works(eid: integer, did: integer, pct time: integer) Dept(did: integer, budget: real, managerid: integer)

1. Suppose you have a view SeniorEmp de?ned as follows:

CREATE VIEW SeniorEmp (sname, sage, salary) AS SELECT E.ename, E.age, E.salary

FROM      Emp E WHERE E.age > 50

Explain what the system will do to process the following query: 

SELECT S.sname FROM      SeniorEmp S

WHERE S.salary > 100,000

2. Give an example of a view on Emp that could be automatically updated by up-dating Emp.

3. Give an example of a view on Emp that would be impossible to update (auto-matically) and explain why your example presents the update problem that it does.

Reference no: EM13509179

Questions Cloud

What is the tangential acceleration of the discus thrower : A discus thrower (with arm length of 1.2 m) starts from rest and begins to rotate counterclockwise with an angular acceleration of 1.5rad/s2. What is the tangential acceleration of the discus thrower at this point
Prepare the company planning budget : Prepare a flexible budget performance report for the company using the actual income statement information shown below.
Estimate the constant angular acceleration of the centrifuge : A centrifuge in a medical laboratory rotates at an angular speed of 3750 rpm (revolutions per minute). Find the constant angular acceleration of the centrifuge
Compute the materials quantity variance and materials price : Harmon Household, Inc. manufactures a number of consumer items for general household use. During the recent month, the company manufactured 4,000 chopping blocks using 11,000 feet of hardwood.
Give an example of a view on emp that would be impossible to : Give an example of a view on Emp that would be impossible to update (auto- atically) and explain why your example presents theupdate problem that it does.
Compute production cost per unit under variable costing : Determine the cost of ending inventory using absorption costing.
What is the value of the lorentz gamma factor : A muon is formed high in the Earth's atmosphere and travels at a speed 0.9 c with respect to the Earth. What is the value of the Lorentz gamma factor associated with the muon's motion
Determine the accounts receivable as of that date : Assume that the company will prepare a budgeted balance sheet as of September 30. Determine the accounts receivable as of that date.
What is the velocity of the first ball as it strikes ground : Two students are on a balcony 21.4 m above the street. One student throws a ball vertically downward at 13.3 m/s; at the same instant,  What is the velocity of the first ball as it strikes the ground

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd