Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part B Database Implementation ( 3 5 marks ) In this part, you should develop a database based on your logical ERD developed in Part
Part B Database Implementation
marks
In this part, you should develop a database based on your logical ERD developed in Part A You must populate the tables with realistic sample data.
Task Create tables
marks
Create the tables in Oracle. Write SQL scripts defining each table. The table definitions should include
All attributes with appropriate data types
All appropriate constraints, such as primary key, foreign keys, and check statements CHECK constraints
All constraints must be given names. Naming standards must be used.
Task Populate data
marks
Insert a small sample of realistic test data rows minimum into each table. All test data must be meaningful to demonstrate your understanding of the data.
After creating all your tables Task and inserting data Task run the SQL SELECT statement below:
SELECT tablename FROM usertables;
The statement will retrieve a list of all tables in your Oracle account ie all tables you created this semester Include the results of the SELECT statement in your assignment.
You must also include the following for each table in your database:
SQL table creation script
SQL insert script used for inserting sample data
Evidence of Sample data you must run "SELECT FROM tablename" where tablename is the table's name for each table in Task and include results of SELECT statements for each table.
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