Develop relational schemas

Assignment Help Database Management System
Reference no: EM132213588

Assignment - Database for Video Game Centre

Unit Learning Outcomes (ULOs)

• Of the three Unit Learning Outcomes (ULOs) of this unit, this assignment will focus on the last two ULOs. These are:
• ULO 2 - At the end of this unit students will be able to evaluate data models and apply data modelling techniques to capture the data aspects of real-world situations.
• ULO 3 - At the end of this unit students will be able to design and develop relational databases by using SQL and a database management system.
• The assessment of this assignment will indicate whether students can partially attain these unit learning outcomes.

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.

Attachment:- database.rar

Verified Expert

The assignment is used to demonstrate the concept of Database designing. The project have the business rules for the solution of the given situation.Then using ER diagram, we create the database modelling concept using crow notation and making relationship between each entity.We then write the relational schema for all the entities, and attributes of each entity table and along with showing the primary key and foreign key of each table. Then all the tables are created in Oracle database and sample data entered. At the end we execute the given SQL Queries.

Reference no: EM132213588

Questions Cloud

What is a learning organization : What is a learning organization, what are its key characteristics, and what can leaders do to foster a firm to become a learning organization?
What are the goals of each alliance : For each alliance, identify whether the companies' other products are generally competitors or complementary products. What are the goals of each alliance?
Does the daughter have a right to know her diagnosis : Does the daughter have a right to know her diagnosis? Does the mother have a right to not disclose the diagnosis to her daughter?
Important role in developing their organization : Please explain, Founders have an important role in developing their organization's culture and values.
Develop relational schemas : SIT103 – Data and Information Management - Develop relational schemas. Relational schemas should be derived using the ERD. You should map cardinalities
Calculate the optimal order quantity of springs for supplier : Provide a similar table and calculate the optimal order quantity of springs for Supplier B. Supplier B charges $2 for each spring
What is the difference between a clause and a phrase : What is the difference between a clause and a phrase? How can you tell the difference between a compound sentence and a complex sentence
Change management process : In your opinion, Is integrity important in the change management process
What are the four types of leadership behaviors : What are the four types of leadership behaviors that are identified in transformational leadership? Describe them and how they influence followers?

Reviews

len2213588

1/11/2019 9:43:37 PM

Submission: Submit a copy of your solution – a single document (word or pdf format – 5 marks of penalty will be applied for other format of submissions), electronically on the course portal, on or before the due date. You must submit your Report with a • Cover page (with student number, name and a signed statement that mentioned all the work is your own work.)- Failing of one of the items will applied for 5 marks of penalty form the final mark. • Answers for above mentioned questions. The design should be very clearly documented. And answers should be written in the order of the questions. If not 5 marks of penalty will be applied.

len2213588

1/11/2019 9:43:25 PM

Total mark of the assignment: 100 (20% of the final unit assessment). Late Submission and Extension Policy • All students MUST submit an assignment on the due date, whether it is completed or not. • Students who have just cause may email your lecturer and apply for an extension BEFORE the due date unless they are hospitalised or there are extenuating circumstances that prevent this. All applications must be accompanied by documentary evidence of the disadvantage causing this request. • Late Assignments will be penalised by 5% for each day late. After one week, assignments will not be marked.

Write a Review

Database Management System Questions & Answers

  Create a database and modify your script

Create a Database and modify your script to reference your Database and Running script file in MySQL, create SQL SELECT Queries

  Create relational schema of database in 3nf

A Relational schema of your database in 3NF, clearly indicating attributes, the data type of each attribute, primary and foreign keys, candidate keys, and which attributes are nullable, giving reasons. List any assumptions you need to make.

  Draw dependency diagram to show the functional dependencies

Using above table - Draw a dependency diagram to show the functional dependencies in the relation

  Identify the type dependencies found

CIT 310- In the diagram below there are dependencies. Identify the dependencies. In a Word document, identify the type dependencies found and the attributes found in them.

  Interaction in a tic-tac-toe game

Write a PhoneContact class that gets initialized with a phone number and a label. The phone number should follow one of the formats of the Phone class from the previous assignment (and you should use the Phone class in this assignment).

  Create a new database

Employees that worked on these repairs should also be recorded with their first and last names and their date of hire.

  Systems analysis and database designyou should back up your

systems analysis and database designyou should back up your answers with theoryreferences from reliable sources - more

  Create the system and run the necessary reports

How can you apply the lessons that you learned from the story to your own retail store problem - create the system and run the necessary reports were documented

  Build a home inventory database based on the structure

Build one simple one page report, your choice. As an example, Contents of the Family Room. Again title the report accordingly.

  How do you display letters in lowercase in oracle

How do you display letters in uppercase in Oracle, Access, and SQL Server? How do you display letters in lowercase in Oracle, Access, and SQL Server?

  Add the full set of drop table statements to your solutions

FIT2094 Databases Assignment - Monash Library Services (MonLib) Case Study, Monash University, Australia. Add the full set of DROP TABLE statements to solution

  Create and maintain a database server

Database Administration - COMP 30021 - Create and maintain a database server - Implementing Database security policies

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