Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write the appropriate SQL statement for the following queries. The result of the queries will be checked from your computer. What privilege should a user
Write the appropriate SQL statement for the following queries. The result of the queries will be checked from your computer.
- What privilege should a user be given to log on to the Oracle server? Is this a system privilege or an object privilege?
- What privilege should a user be given to create tables?
- If you create table, who can pass along privileges to other users on your table?
- You are the DBA. You are creating many users who require the same system privileges. What should you use to make your job easier?
- What command do you use to change your password?
- User1 is the owner of the EMP table and grants the DELETE privilege to User2 by using the WITH GRANT OPTION clause. User2 then grants the DELETE privilege on EMP to User3. User1 now finds that User3 has the privilege and revokes it from User2. Which user can now delete from the EMP table?
- You want to grant SCOTT the privilege to update data in the DEPARTMENTS table. You also want to enable SCOTT to grant this privilege to other users. What command do you use?
- Grant another user query privilege on your table. Then, verify whether that user can use the privilege. Note: For this exercise, team up with another group. For example, if you are user ora21, team up with another user ora22.
- Grant another user privilege to view records in your REGIONS table. Include an option for this user to further grant this privilege to other users.
- Have the user query your REGIONS table.
- Have the user pass on the query privilege to a third user (for example, ora23).
- Take back the privilege from the user who performs step b.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
To log on to the Oracle server a user should be given the CREATE SESSION privilege This is a system ...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 Started