Answered step by step
Verified Expert Solution
Link Copied!

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 (35 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 3 Create tables [25 marks]
Create the tables in Oracle.1 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 4 Populate data [10 marks]
Insert a small sample of realistic test data (510 rows minimum) into each table. All test data must be
meaningful to demonstrate your understanding of the data.
After creating all your tables (Task 3) and inserting data (Task 4), run the SQL SELECT statement below:
SELECT table_name FROM user_tables;
The statement will retrieve a list of all tables in your Oracle account (i.e., 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 table_name(where
table_name is the table's name) for each table in Task 3 and include results of SELECT
statements for each table.
1 You must use Oracle SQL Developer for Parts B and C.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions

Question

Write short notes on Interviews.

Answered: 1 week ago