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

  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