You are on page 1of 3

Islamic University

‫الجامعة اإلسالمية‬
Faculty of Computer and ‫كلية الحاسب اآللي ونظم‬
Information Systems
‫المعلومات‬

Lab Project
Course: CIS 3300 – Databases Systems
First Semester 2022
Instructor: Omar Nooh

Project Title: Movie Selling and Rental Company (MSRC)

Project Goal: The goal of this project is to:

 Design a conceptual schema for a Movie Selling and Rental Company (MSRC) using the ER
Data model.
 Map ER-Model into a relational model.
 Implement the relational model using MYSQL.
 Running a set of SQL queries.
 The project carries 10% of the class grade. Different phases of the project carry different
weights.

Project Description: This system provides all information about the movies world, old, classic,
and even new releases. The company sells and rents movies to its customers, and also a customer
can search or get any information about their favorite movies either by movie, actors, and
director’s names.

The Minimum Project Tables and Constraints: Your system should have at least information
about these tables

Page 1
Islamic University
‫الجامعة اإلسالمية‬
Faculty of Computer and ‫كلية الحاسب اآللي ونظم‬
Information Systems
‫المعلومات‬

Description

Movie Store all information about movies such as name, ID, year, rating, box
office, time, director, award …

Actor Actors information such as ID, Fname, Lname, age, Birthdate, ….

Genre Movies Type such as Comedy, Action, …

Customer Who rent or buy a movie

Sell Selling specific movie to specific customer

Rent Rent specific movie to specific customer

Relationship Tables you create based on the relationships between above tables
Tables

Others Necessary to perform system functionality

Phase 1: ER Data Model [30 points]

 Draw an ER diagram for the above system.


 You can do any assumption you want
 You can update, add, or delete any information that you see is necessary.
 You must submit ER diagram with the list of assumptions you made.

Phase 2: Relational Data Model [20 points]

 Updated ER diagram from phase 1

Page 2
Islamic University
‫الجامعة اإلسالمية‬
Faculty of Computer and ‫كلية الحاسب اآللي ونظم‬
Information Systems
‫المعلومات‬

 Map ER diagram into a relational model using table structure

Phase 3: Implementing the Systems Using MYSQL [50 points]


 Creating the database tables [15 points]
 Populating data into tables [10 points]
To run and test the queries, the database should be filled with sufficient data. At least 10
tuples in each table. Print out a screen of each table you created with its data.

 Queries solutions and output [15 points]


 Creativity and your work [10 points]

The systems should run the following queries:

1. Display the movie name and the main actor (hero) for all the movies.
2. Display the names of the customers who borrow the maximum number of movies.
3. Display the names of the customers who buy ACTION movies.
4. For each movie name display number of rent and selling operations.
5. Display the names of all animated movies by Walt Disney.
6. Display a count of the number of action movies made.
7. Display the number of movies with each genre.
8. Display the names of the customers who buy and borrow the same movie.
9. Display the customer name who borrows the maximum number of movies in 2012.
10. For each movie names display the total amount of rent and selling operation.

Page 3

You might also like