Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Branch BId BName Supervisor City SID Sid Name Salary DI Operations 1234 1234 Jone Muscat 2340 D2 Engg 1345 1345 Ann Muscat 1200 D3 Operations

image text in transcribed

Branch BId BName Supervisor City SID Sid Name Salary DI Operations 1234 1234 Jone Muscat 2340 D2 Engg 1345 1345 Ann Muscat 1200 D3 Operations 1567 1567 | Mary Dubai 1345 D4 Computer 1234 1655 Viba Dubai 1290 DS Operations 1733 1733 Jack Abudhabi 1360 1. Create both the tables Branch and Supervisor with appropriate attribute names, primary key, foreign key and data type. [3 marks] 2. Insert the above records into Branch and Supervisor tables. [2 marks] 3. Display all the records from Branch and Supervisor (Separately) [0.5 mark] 4. Display all the details of Name, City and Salary [1 mark] 5. Display the total salary for every city in the supervisor table. [1 mark] 6. Write a PL/SQL program to display BName from the Branch table for D5. [1.5 marks]

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

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions

Question

What is a met model? How is a met model used?

Answered: 1 week ago

Question

=1. What is meant by revenue management in the travel industry?

Answered: 1 week ago