Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This needs to be done in Oracle SQL Database thank you. = = = = = = = = = = = = = =

This needs to be done in Oracle SQL Database thank you. ============================================== Task 4 Create tables [15 marks) Create the tables in Oracle. Write SQL scripts defining each table. The table definitions should include (1) All attributes with appropriate data types (2) all appropriate constraints such as primary key, foreign keys, and check statements. All constraints must be given names. Naming standards must be used. Task 5 Populate data (10 marks] Insert a small sample of realistic test data (5-10 rows min.) into each table. Refer to case study document for examples of sample data. All test data must be meaningful in order to demonstrate your understanding of the data. For Part B, you must include the following for each table in your database: SQL table creation script SQL insert script Sample data (include results of SELECT statements for each table)|offers Department deptnum deptname fax phone location hod employs FH- Student studentid firstname lastname financialloan > enrolls ---- manages Course coursecode duration coursetitle deptnum staffid AcademicStaff staffid firstname lastname qualifications phone extension officenumber address position address sex dob coursecode sex 1 salary deptn um 1 has consists of !! undertakes NextOfkin Paper firstname Assessment result papercode papertitle startdate lastname relationship phone address tstudentid enddate score papercode studentid resources coursecode 18

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

MongoDB Applied Design Patterns Practical Use Cases With The Leading NoSQL Database

Authors: Rick Copeland

1st Edition

1449340040, 978-1449340049

More Books

Students also viewed these Databases questions