Database SQL
College of Computing and Informatics Project Deadline: Wednesd 23:59 [Total Mark for this Project is 14] Stuent Details: Name: Name: Name: ID: ID: ID: Instructions: • You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on Blackboard via the allocated folder. These files must not be in compressed format. • It is your responsibility to check and make sure that you have uploaded both the correct files. • Zero mark will be given if you try to bypass the SafeAssign (e.g., misspell words, remove spaces between words, hide characters, use different character sets, convert text into image or languages other than English or any kind of manipulation). • Email submission will not be accepted. • You are advised to make your work clear and well-presented. This includes filling your information on the cover page. • You must use this template, failing which will result in zero mark. • You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question. • Late submission will result in ZERO mark. • The work should be your own, copying from students or other resources will result in ZERO mark. • Use Times New Roman font for all your answers. Project Instructions Pg. 01 Project Instructions • You can work on this project as a group (minimum 3 and maximum 4 students). Each group member must submit the project individually with all group member names mentioned in the cover page. • This project worth 14 marks and will be distributed as in the following: a) Identify the entity types, attributes, keys. b) Identify the relationship and cardinalities. c) Draw the ERD. d) Schemas before Normalization. e) Schemas after Normalization. f) Create the tables. g) Populate your tables with at least 5 rows. h) Execute the requested sample queries. (2 marks) (2 marks) (2 marks) (1.5 marks) (1.5 marks) (1.5 marks) (1.5 marks) (2 marks) • Each student must submit one report about his/her chosen Project via the Blackboard (Email submission will not be accepted which will be awarded ZERO marks) • Screenshots for answering SQL questions (f, g, and h). • You are advised to make your work clear and well presented; marks may be reduced for poor presentation. This includes filling your information on the cover page. • You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question. A) Late submission will result in ZERO marks being awarded. B) The work should be your own, copying from students or other resources will result in ZERO marks. Training Management Database System Pg. 02 Learning Outcome(s): Training Management Database System A training providing institute is offering training courses to their clients. A database system is needed to register the trainees in these courses. The data LO 4 Design a database starting from the conceptual design to the implementation of database schemas. requirements for the system are given as follows: • The company has many teachers. Each teacher has a unique id, name, date of birth, address (house number, street name, city, state), and may have several phone numbers. o A teacher may teach many courses. o We keep track of the number that a teacher has taught a course. • The institute offers many courses to their clients. Each course has unique id, course name, start date, end date, and course language. o The course language is either English or Arabic. o We keep track of the fee of each offered course. o One or more courses is offered to a client. • There are many clients. Each client is identified by unique id, client name, address, contact person, and contact person name. • Trainees works for a client. Each trainee has a trainee id, first name, last name, and a phone number. o Trainees may take several courses. o We keep track of the fee of the taken course by a trainee. LO 3 Create EntityRelationship model, Relational model, and write SQL queries. Pg. 03 Training Management Database System Training Management Database System a) Fill the table below with all the Entities based on the given requirements: Entity Type Attributes of the Entity Key Training Management Database System Pg. 04 b) Fill the table below with all the relationship type based on the given requirements. Relationship Type Entities connected by the relationship type Cardinality Relationship attribute Pg. 05 Training Management Database System c) Draw the ER diagram Pg. 06 Training Management Database System d) Fill the table below with all schemas before normalization. Schema Name Schema Attribute Key Pg. 07 Training Management Database System e) Fill the table below with all schemas after normalization up to the 4NF. Schema Name Schema Attribute Key Pg. 08 Training Management Database System f) Write the necessary SQL statements to create the tables. Pg. 09 Training Management Database System g) Insert at least five rows into each table. Pg. 10 Training Management Database System h) Write SQL queries to find the following: 1) List of teachers who taught “MS Word” at least 2 times. 2) List all the course ids and names given since 1/1/2018. 3) List all the trainees who has taken “MS Word” and works for “Saudi Electronic University”. 4) Find all the clients who has taken “MS Excel” course. 5) Find all the clients who have taken “MS Excel” and “MS Word”.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.