(Solved) Assignment on Database System

Verified

Added on  2021/06/17

|11
|618
|169
AI Summary
tabler-icon-diamond-filled.svg

Contribute Materials

Your contribution can guide someone’s learning journey. Share your documents today.
Document Page
Running head: DATABASE SYSTEM
Database System
Name of the Student:
Name of the University:
Author Note
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
1
DATABASE SYSTEM
Logical Database Design
Choosing an application
For the assignment the chosen application used for description is that of Online Game
Shop. This is an online shop in which the gamers can register their details and buys the latest
games from the online store. The name of the games and the developers would be stored in the
database and also there would be staffs that would be processing the purchase of the gamers and
the names and the details of the staffs would also be stored in the system.
Queries
1. List of all the game developers registered in the system.
2. List of all the orders made on 28 April 2015
3. List of names of the Gamers starting with A.
4. List of the games available at the online store.
5. List of all orders for a particular gamer.
6. List of all orders under a particular staff
7. List of all games Created by “Ubisoft”
8. What is Address of Sammy
9. Name of the developer of the game “FIFA 2018”
10. Which is the Game with the highest price?
Assumptions
The only assumption made during the designing of the database is that the staffs would
be accessing the systems manually hence, the data of the staffs would be stored in the system and
Document Page
2
DATABASE SYSTEM
the data that is provided by the system by the gamers would be automated and the data entered
by the staffs would be handled by the system manually.
ER Diagram
Relational Database Schema
Developer (developerID (pk), Name)
Game (GameID (pk), developerID (fk), GameName, Price)
Gamers (GamerID(pk), GamerName, GamerAddress, Contact)
Orders (OrderID (pk), GameID (fk), GamerID (fk), OrderDate)
Invoice (InvoiceID (pk), OrderID (fk), StaffID (fk), GamerID (fk))
Staff (StaffID (pk), Name, sContact, Salary)
Functional dependencies
developerID Name
GamerID GamerName, GamerAddress, Contact
Document Page
3
DATABASE SYSTEM
OrderID productID, customerID, OrderDate
productID brandID, pName, Price
InvoiceID OrderID, StaffID, CustomerID
StaffID Name, sContact, Salary
Decomposition
The database is already decomposed to its highest from and can-not be decomposed any
further.
Relational algebra
1 π (developer)
2 π (σ OrderDate (Order) = 28 April 2015)
3 π GamerName (σ GamerName (Gamers) = LIKE ‘%a’)
4 π (game)
5 π (σ GamerID (Order) = n)
6 π (σ StaffID (Invoice) = n)
7 π (σ DeveloperID (Game) = ‘’)
8 π Address (σ Name (Customer) = James)
9 π Contact (σ Name (Staffs) = James)
10 π(σ Price (Product) = maximum)
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
4
DATABASE SYSTEM
Unanswerable queries
1. The name of the staff who sells the gamers that re developed by “EA Sports”
2. The name of the Gamer who bought products of “EA Sports”
Implementation
Tables
Developers
Game
Gamers
Document Page
5
DATABASE SYSTEM
Invoice
Orders
Document Page
6
DATABASE SYSTEM
Staffs
Query
1
tabler-icon-diamond-filled.svg

Paraphrase This Document

Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
Document Page
7
DATABASE SYSTEM
2
3
4
Document Page
8
DATABASE SYSTEM
5
6
7
Document Page
9
DATABASE SYSTEM
8
9
10
tabler-icon-diamond-filled.svg

Secure Best Marks with AI Grader

Need help grading? Try our AI Grader for instant feedback on your assignments.
Document Page
10
DATABASE SYSTEM
Bibliography
Coronel, C., & Morris, S. (2016). Database systems: design, implementation, & management.
Cengage Learning.
Gould, H. (2015). Database Design and Implementation.
chevron_up_icon
1 out of 11
circle_padding
hide_on_mobile
zoom_out_icon
[object Object]

Your All-in-One AI-Powered Toolkit for Academic Success.

Available 24*7 on WhatsApp / Email

[object Object]