Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Every School has many teachers and many students. Each student is assigned to one school and each teacher works for one school only. Each teacher

Every School has many teachers and many students. Each student is assigned to one school and each teacher works for one school only. Each teacher teaches more than one subject but a subject may be taught by more than one teacher. The database should store the number of hours a teacher spent teaching a subject. Information held on each teacher includes his/her tax file number, name (first and last), gender and qualifications. The data held on each subject includes subject title and type. Each student can study more than one subject and a subject may be studied by more than one student. Data held on each student includes the student number, name (first and last), gender and date of birth. Each school is managed by one of its teachers. The database should keep track of the date he/she started managing the school. Data stored on each school includes the schools code, name, address (town, street and postcode) and phone.

1. Draw ERD with key attributes. You can use any notation to draw the ERD. Must include legend. (Correctly identified entities, Resolved Many-Many relationship(s) into associative entity(ies), ERD drawn correctly with cardinalities and appropriate relationships between entities, Assumptions stated for the given scenario while drawing ERD)

2. Data dictionary for the above scenario. (Included information about attributes, such as: table name, data type, size, constraints. Description of attributes and additional constraints.)

3. Implement the database and populate with sample data for every table. (Tables created on MySQL workbench as per ERD. Included constraints and other properties as per data dictionary. Foreign key constraints are stated appropriately without any violations. Pupulated the tables with sample data(minimum 5 records in each table)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

Students also viewed these Databases questions

Question

____________ Gain sharing is an example.

Answered: 1 week ago