For each of the following, write SQL statements to create views where needed and to grant...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
For each of the following, write SQL statements to create views where needed and to grant the indicated privileges for the University database with this schema: Student(stuld, lastName, firstName, major, credits) Class(classNumber, facld, schedule, room) Enroll(stuld, classNumber, grade) a. Give permission to read the tables Student and Class to user 201. b. Create a view of Enroll that does not include the grade attribute, and give user 201 permission to read and update the view. \ For each of the following, write SQL statements to create views where needed and to grant the indicated privileges for the University database with this schema: Student(stuld, lastName, firstName, major, credits) Class(classNumber, facld, schedule, room) Enroll(stuld, classNumber, grade) a. Give permission to read the tables Student and Class to user 201. b. Create a view of Enroll that does not include the grade attribute, and give user 201 permission to read and update the view. \
Expert Answer:
Answer rating: 100% (QA)
To grant permissions and create views in the University database with the given schema you can use S... View the full answer
Related Book For
Fundamentals of Database Systems
ISBN: 978-0136086208
6th edition
Authors: Ramez Elmasri, Shamkant Navathe
Posted Date:
Students also viewed these databases questions
-
The goal of this activity is to understand the role of business ethics in everyday company operations. Business ethics is the application of general ethical ideas to business behavior. Business...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
ConAir (CA) commercial airlines company requires you experience in database design and have approached you to assist in the design of their new airline database system. They urgently need to have...
-
How are the interface and implementation sections of an Objective-C class specified?
-
A closed cylinder is divided into two rooms by a frictionless piston held in place by a pin. P5.85. Room A has 0.3 ft3 air at 14.7 lbf/in 2, 90 F, and room B has 10 ft3 saturated water vapor at 90 F....
-
Steam steadily enters a nozzle at 180C and 1002.8 kPa with a velocity of 12 m/s and leaves at 300C and 8,000 kPa. For an inlet diameter of 0.5 and an outlet diameter of 0.2, determine the volume flow...
-
How do CRM and the use of databases in selling enhance closing and follow-up?
-
Rambo Enterprises, Inc. stock has a beta of 1.12. The risk-free rate of return is 2.46 percent and the market risk premium is 5.26 percent. What is the expected rate of return on this stock?
-
What is the most appropriate discount rate to discount cash flows at for NPV analysis?
-
Compute a depth-two decision tree for the training data in table 1 using the Gini function, C(a) = 2a(1 a) as described in class. What is the overall accuracy on the training data of the tree? XYZ...
-
The reaction A + 3B = C has K. - (5.15x10^16) and is started with (A) - 15 M and (B] = 9 M. What is the equilibrium (B]?
-
Discuss several key issues in product or service design.
-
develop and discuss a continuum of strategic maturity upon which different approaches to Human resource development (HRD) can be located;
-
Briefly describe the phases in product design and development.
-
Explain the phrase the 3 Rs.
-
identify and explain the major features of Strategic human resource development (SHRD) and organise these into a conceptual framework;
-
1. A semiconductor in its purest form is called a. Pure semiconductor b. Doped semiconductor c. Intrinsic semiconductor d. Extrinsic semiconductor 2. Valence orbit is the other form for a. Outer...
-
Juarez worked for Westarz Homes at construction sites for five years. Bever was a superintendent at construction sites, supervising subcontractors and moving trash from sites to landfills. He...
-
What update anomalies occur in the EMP_PROJ and EMP_DEPT relations of Figure 15.3 and 15.4?
-
Consider the relation shown in Figure 24.2 (d). How would it appear to a user with classification U? Suppose a classification U user tries to update the salary of "Smith" to $50,000; what would be...
-
How does checkpointing in ARIES differ from checkpointing as described in Section 23.1.4?
-
The trial balance of Hindustan Textiles Ltd. as at 31st March 2006 is as presented hereunder. Further information 1.The authorized capital of the company is 30 lakh equity shares of 10 each of which...
-
Refer to the exercise on preparation and brief analysis of financial statements of Sangeeta Udhuog Ltd. as given in the last chapter. Now convert the financial statements in to vertical format. Take...
-
Gupta Health Products Pvt. Ltd. has been promoted by Richa Gupta and her associates on April 1, 20CY. The company enters into the following transactions of purchase during the month. It maintains a...
Study smarter with the SolutionInn App