Determine what system privileges the dvonline role has

Assignment Help Database Management System
Reference no: EM13808163

Part 1: Using the following Data Dictionary views write the statements that will perform the following actions. Be sure to test your statements.

ROLE_ROLE_PRIVS

ROLE_SYS_PRIVS

ROLE_TAB_PRIVS

USER_ROLE_PRIVS

USER_SYS_PRIVS

USER_TAB_PRIVS

Determine what privileges your account has been granted through a role.

Determine what system privileges your account has been granted.

Execute the following statement then determine what table privileges your account has been granted.

Determine what system privileges the DVONLINE role has.

Analyze the following query and write a description of the output it produces.

SELECT COUNT(DECODE(SIGN(total_capacity-20), -1, 1, 0, 1)) "<=20",
COUNT(DECODE(SIGN(total_capacity-21), 0, 1, -1, NULL,
DECODE(SIGN(total_capacity-30), -1, 1)))"21-30",
COUNT(DECODE(SIGN(total_capacity-30), 1, 1)) "31+"
FROM
(SELECT SUM(capacity) total_capacity, course_no
FROM section
GROUP BY course_no)

Determine the top three zip codes where most of the students live. Use an analytical function. The query will product 10 rows.

Part 2: Analyze the file from Doc Share called utlpwdmg.sql and analyze the code in this file. Write a paragraph that describes what the function performs. What are the inputs parameters, the output parameter and what does the function do?

Using the student schema from week 2, provide answers to the following questions.

1. Generate statistics for the student, enrollment, grade, and zipcode tables.

1. Write a query that performs a join, a subquery, a correlated subquery using the student, enrollment, grade, and zipcode tables. Execute each query to show that it produces the same results.

1. Produce an autotrace output and explain plan for each query.

1. Analyze the results and state which performs best and why. Write an analysis of what operations are being performed for each query. Determine which query is the most efficient and explain why.

Reference no: EM13808163

Questions Cloud

Describe the entities of the database : Based on your research and / or common knowledge of a college and the information tracked by a college, describe the entities of the database and the attributes of each entity
Histories of both of amazon-yahoo : Describe, in brief, the histories of both of Amazon.com and Yahoo.com, and determine the core business of each.
Find the z scores for which the distributions area lies wit : Find the z-scores for which 88% of the distributions area lies within -z and z. The z-scores are ?
Customer-defined window of time : Question 1: You are designing a grocery delivery business. Via the internet, your company will offer staples and frozen foods in a large metropolitan area and then deliver them within a customer-defined window of time.
Determine what system privileges the dvonline role has : Determine what system privileges the DVONLINE role has. Determine what system privileges your account has been granted
Intervention and evaluation : Intervention and Evaluation
Success of any business : A Quality Assurance (QA) Program is essential to the success of any business.In establishing your grocery delivery business, what are some of the Quality Control (QC) processes that you envision employing? Why? Provide examples of potential metric..
Cigarettes cause the pulse rate to increase : Describe the error in the conclusion. Given: There is a linear correlation between the number of cigarettes smoked and the pulse rate. As the number of cigarettes increases the pulse rate increases. Conclusion: Cigarettes cause the pulse rate to incr..
Important role in business success : You begin the meeting, going around the room and asking each staff member for his or her understanding of what logistics means, and how it can play an increasingly important role in business success.

Reviews

Write a Review

Database Management System Questions & Answers

  Design work breakdown structure for designing database

Design a work breakdown structure for the task below: Designing the database, Working on the website content

  Draw an functional decomposition diagram

Draw an functional decomposition diagram that shows the main operations described in the fact statement - prepare a context diagram and diagram 0 DFD for the new system.

  How would you define a relational database

How would you define a relational database? What is "normalization" and why do we normalize DBs

  Describe a polynomial-time algorithm to test dependency

Describe a polynomial-time algorithm to test dependency-preservation.

  Q1with the new unsw timetabling system the lic of each

q1with the new unsw timetabling system the lic of each course is required to specify what facilities they require in

  What is the role of the project manager

Discuss why many information technology professionals may overlook project cost managment and how this might affect completing projects within budget.

  Assume that you would like mary to be able to verify that

Assume that you would like Mary to be able to verify that all your email mes- ages are really sent from you. How can you authenticateyour messages without encrypting the actual text?

  Emphasizes entity-relationship diagramming

This week we will see the techniques used to structure the data requirements for an information system application as the textbook and lecture notes emphasizes entity-relationship (E-R) diagramming,

  Provide an entity relationship model

Provide an Entity Relationship Model (ERM) that will describe the data structure that will store all data elements and analyze the university's requirements and provide a proposal to organize all the required data elements.

  Construct an entity relationship diagram

Explain the differences between the notions of Database (DB), Database Management System (DBMS) and Database System (DBS).

  Ithis hands-on assignment you will be expected to learn

in this hands-on assignment you will be expected to learn a. how to interactively query a database by using sql

  1- prove that any relation schema with two attributes is in

1- prove that any relation schema with two attributes is in bcnf.nbsp2- ra b c is a relation in bcnf. a is one of the

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