Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Some Business Theme Examples: Banking data management Insurance data management Manufacture Inventory Management Airline data management Bookstore data management College data management Library data management
Some Business Theme Examples:
Banking data management
Insurance data management
Manufacture Inventory Management
Airline data management
Bookstore data management
College data management
Library data management
Hospital data management
Student database management
You may pick one of the above scenarios or define your own imaginary business scenario.
Its okay if your select a business scenario thats similar to previous assignments or the mini cases demonstrated in the class slides or illustrated in the book, but please modify it so it has some variance.
Project Details
Below, you will find the steps you should follow in DB design and SQL statements.
DB Design
pts Describe an imaginary business around your business theme. Your scenario should satisfy the following conditions:
a Include at least one onetoone binary relationships.
b Include at least one onetomany binary relationships.
c Include at least one manytomany binary relationships.
d Include at least one intersection data on manytomany relationships
Optional You can create more relationships if needed.
Explain the story behind the scenario, and all your assumptions, which are required to support relationships given above.
pts Show entities and their attributes. Each entity should have at least three attributes, show primary keys, as well as foreign keys if exist. Draw ER diagram with correct notation cardinalitymodality You can use any drawing software, MS Visio, diagrams.net formerly wwwdraw.io etc. In those tools you can use "Entity Diagram" section. Insert your ER diagram screenshot in your project report. If it does not fit in one page, you may upload a separate jpg file for your ER Diagram.
pts Define some referential integrity rules for example: delete rulesconstraints for your scenarios.
pts Convert the ER diagram to tables. Show your tables with primary keys, as well as foreign keys if exist.
pts Discuss database normalization rules on your tables. Do not explain what the rules are. Instead check and validate if each of tables satisfies NFNF and NF If not, normalize your tables. Explain how you achieved normalization.
SQL
In this part you need to demonstrate SQL operations in MySQL Workbench or other database design tool.
Write SQL statements to:
pts Write SQL statements to create your database and tables resulted from step through
pts Demonstrate data insertion into at least three tables or more.
pts Demonstrate data deletion with at least two tables.
pts Demonstrate data update with at least one table.
pts Demonstrate a SELECT statement with WHERE statement.
pts Demonstrate a SELECT statement with GROUP BY statement.
pts Demonstrate a SELECT statement with ORDER BY statement.
pts Demonstrate a SELECT statement with HAVING statement.
pts Using two related tables meaning logically connected with primarykey and foreignkey pairs join these two tables to show matching rows. For instance, assume that Table A and Table B has and attributes respectively. Also, assume that Table As primary key is seen as foreign key in Table B Join two tables to show matching rows whose primary key and foreign key is the same.
pts Demonstrate a SQL statement in which a DATE data type is subject of where statement
pts Demonstrate CREATE VIEW statement
Note:
For each step from through do the following:
a Write your SQL Statements in MySQL Workbench or other database design tool
b Run the statement.
c Take screenshot of the statements as well as its running output if any
d Add the screenshots into your project report.
e Write simple explanation about what the SQL command does.
Save your SQL commands to a file sqlCodeYourFullName.sql upload this sql file along with your Final Project Report document. bonus points for uploading this sql file
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