Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A Case Study: You have been given the responsibility of constructing a database grounded on the ERD diagram ( refer to page 4 ) provided
A Case Study:
You have been given the responsibility of constructing a database grounded on the ERD diagram
refer to page provided by Provisional Employment. Some reports are also required by
Provisional Employment to make strategic decisions and improve the efficiency of everyday
operations. You must do the following to obtain this:
Requirements:
R Notepad will be used to construct the three SQL batchscript files outlined below. You
will run these files through the MySql shell to see how they work. It's possible to utilize
commentsremarks to explain what queries are written using
R Create a Notepad text file called GroupXACreateStructures.sql The Xs represent your
Group Name. In this file, you will write all your SQL queries to only generate the table
structures as given in the solution ERD Figure This task is part of DDL Note the
following:
Table : Details the requirement for the Notepad text file GroupXACreateStructures.sql
X represents your Group Name
No Requirements
When you run your script, all the tables should be created with their constraints as
given in the ERD.
Add comments to indicate which SQL statements correspond to which tables using
Attributeentity names should be similar if not the same as in the ERD. You can also
add any additional useful attributes to the given tables and would not necessarily need
to remove any existing ones. Consider any such changes that you introduce carefully
P a g e
The basic structure in the given ERD must be captured in your implementation as
given page Any significant changes, such as additions of extra attributes or
entities, must be clearly and very briefly explained with comments in the script where
the relevant SQL statement is
You need the SQL statements to create the tables here. Any other types of statements
may not be needed.
Test out your script in the MySQL shell. When it runs, it is expected to create all the
tables with all their required constraints without any errors. Avoid syntax errors.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started