Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is a project content: Part A - Design a relational database schema Design a database about vehicle information management The requirements are as follows:

image text in transcribed

This is a project content: Part A - Design a relational database schema Design a database about vehicle information management The requirements are as follows: 1. Describe this subjects Entity, Relationship and Attributes. (5 marks) 2. Draw this subject's ERA diagram (E-R model). (10 marks) 3. Conversion from ERA diagram (E-R model) into relational database schema at least five tables in Third Normal Form(3NF). (10 marks) 4. For each table, assert some functional dependencies(FDs) and identify the keys. (5 marks) Part B Implement a MySQL -compatible relational database schema 1. Create file schema.sql which 2. Create file queries.sql which contains: contains: (1) Five SQL queries for your database. The (i) a CREATE TABLE statement for queries should use a join, subquery and/or each table defined in part A; include group by and having; (15 marks) definitions of primary keys, any (ii) A definition of one view that might be foreign keys and any unique attributes; useful either for the queries you have written or specify any default values of for other queries; (5 marks) attributes; (10 marks) (ii) INSERT INTO statements that 3. Create file trigger.sql which contains insert some example data into the one trigger for your database. (5 marks) tables (at least five data rows per table), Use UPDATE SET statements to modify some data and use DELETE 4. Create file procedure.sql which contains FROM statements to delete some data. one stored procedure/ function for your (10 marks) database

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

Step: 3

blur-text-image

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 Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

Students also viewed these Databases questions

Question

What are negative messages? (Objective 1)

Answered: 1 week ago