Develop relational schemas

Assignment Help Database Management System
Reference no: EM132221026

Database for Video Game Centre

Scenario

University of Vermont need to track of students and their majors, transcripts, and registration as well as of the university’s course offerings. The university database also keeps track of the sponsored research projects of faculty and graduate students. The requirements are listed as follows. For each staff members, the database maintains information on staff’s Name, Social Security number, address, and birth date, a rank (e.g. assistant, associate, adjunct, research, visiting, and so on), office, office phone, and salary.

All staff members are related to the academic department(s) with which they are affiliated (a staff member can be associated with several departments). For each student, the database maintains information on student’s Name, SID, address, and birth date A student has a class as such as freshman=1,  sophomore=2, graduate student=3, etc). Each student is also related to his or her major and minor departments to the course sections he or she is currently attending and registered. And if a student completed a course a transcript should be given. Each transcript instance includes the grade the student received in a section of a course.

Graduate student is a subclass of student, with the defining predicate Class = 5. For each graduate student, we keep a list of previous degrees as a multivalued attribute. We also relate the graduate student to a faculty advisor and to a thesis committee, if one exists. An academic department has the attributes name, telephone and office number and is related to the faculty member who is its chairperson and to the college to which it belongs. Each college has attributes college name, office number, and the name of its dean.

A course has attributes course number, course name, and course description. Several sections of each course are offered, with each section having the attributes section number and the year and quarter in which the year section was offered, and quarter number used to identify the section.

Finally, the entity type grant keeps track of research grants and contracts awarded to the university. Each grant has attributes grant title, grant number, the awarding agency, and the starting date. A grant is related to one principal investigator and to all researchers it supports. Each instance of support has as attributes the starting date of support, the ending date of the support.

Answer following questions.

Provide the following:

1. Identify business rules. Business rules are important to define relevant constraint in the organisations. Some organisations have specific rules only practice by the organisation. (e.g. A business rule for a car sales company may be “for each car separate invoice should be issued.”). You can make any appropriate assumptions and mention them in your answer

2. ER diagram is based on the business rules, and should clearly label all entities, entity attributes, primary and foreign keys, relationship and connectivity. The cardinality is optional.

Instruction: Use professional software (e.g., MS Office Visio) to draw the ER diagram. Crow’s Foot notation is preferable.

3. Develop relational schemas. Relational schemas should be derived using the ERD.

You should map cardinalities correctly from ERD to Relational Schema. You should clearly indicate the referential integrity constraints  (primary and foreign key relationships) using arrows. Clearly indicate datatype for each attribute.

e.g.

Emp( eid: integer, ename: string(50), address: string(100), did: number)

Dept(did: number, dname : string (15))

4. SQL commands

1. Create all tables in Deakin Oracle DBMS (about eight tables including composite tables) and Populate the tables with sample data (10  records in each table is recommended).

2. Alter the student table and add new field Date of Birth for student table. Type for date of birth should be date.

3. Increase the annual salary for all staff member by 5%.

4. List the course numbers, course names a student who is doing computer science major could enrol for.

5. Find the students with age between 18 and 21. Print their student number, name and the age with the major.

6. Create your own query. It must include a nested query. Submit the following:

i question your query is answering the SQL query

ii the mark for this question will depend on the complexity of the query.

iii higher marks will be given for queries that are more complex and/or innovative.

iv if you do not provide a description of what question the query is answering, you will get zero for this query.

Reference no: EM132221026

Questions Cloud

How marketers use primary data and secondary data : Discuss how marketers use primary data and secondary data, and provide some examples. The response must be typed, single spaced.
What are the favorite research approaches or techniques : Many marketing researchers have their favorite research approaches or techniques. Some researchers maintain that the only way to really learn about consumers.
Discuss authentic leadership and leader-member exchange : What is the relationship between authentic leadership, Leader-Member Exchange (LMX) and employees' Psychological Capital (PsyCap)?
How the given phenomenon has affected you : Along the way there have been supporters and opposers of his views. However it is fair to say that each of us have experienced the impact of globalization.
Develop relational schemas : List the course numbers, course names a student who is doing computer science major could enrol for.
What is the author main argument : Then, for the article you choose to write on, you will type a 1200-1500 word response in which you address each of the following points in your own words.
Describe theoretical knowledge about psychological trauma : Describe the theoretical and empirical knowledge about psychological trauma and the impact of victimization within this population.
How the given type of crime can affect a victim : This assignment is designed to assist you to integrate cultural influences with your understanding of victims. Select a crime (i.e., rape, robbery, assault).
Illustrate the lack of intercultural communication : Illustrate the lack of intercultural communication by clearly defining cultural patterns (theories, identity, and bias, for example) and communication devices.

Reviews

Write a Review

Database Management System Questions & Answers

  State primary key for each table and all other attributes

Design the necessary database tables. - State the primary key for each table as well as all other necessary attributes.

  Explain the role of databases and database management system

Explain the role of databases and database management systems in managing organizational data and information.

  Explain seven database models and give example of each type

Explain in your own words the differences between sorting and indexing. Explain seven database models, and give examples of each type.

  Design an e-r model for database

Design an E-R model for this database. You will have to make decisions about attributes and keys. If you don't think it is clear what your attributes mean then provide some notes and assumptions to go with your design.

  Components of an application implementation plan

How can an implementation plan also help in ensuring a smooth implementation process? What are some key components of an application implementation plan?

  What is the oracle database

What is the Oracle Database 11g Express edition default folder during installation and can this be changed?

  Identify at least one candidate key

Identify at least one candidate key. If there are no candidate keys, give an example of an attribute that could be used as a candidate key.

  What qualitative conclusions would you draw about efficacy

Focus on quantitative data. Based on the statistical data gleaned from the readings what qualitative conclusions would you draw about the efficacy of the many aspects of differentiated parent support?

  Sketch object-oriented model for private airport database

Sketch an object-oriented model for a small private airport database that is used to keep track of airplanes, their owners, airport employees, and pilots.

  Describe the purpose of the database

Determine the information that the conceptual model of the database would include and determine the information .

  Draw dependency diagram to show the functional dependencies

Draw a dependency diagram to show the functional dependencies that exist in this relation - Decompose the Home Library relation into a set of 3NF relations and draw a dependency diagram for each of the 3NF relations.

  Compute the customer margin for the whiddon family

Compute the customer margin for the Whiddon family. Round off all calculations to the nearest whole cent.

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