Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. 5 a) Patient(ID, FirstName, SurName, Admission Date, Dr_ID,Ward_No) Ailment(Ailment_ID, Name, Patient_ID) Ward(Ward_No, Ward_Name) Doctor(ID, SurName, First_Name, No_of_Patient, Ailment_ID) For the schema above, Write SQL

image text in transcribed

1. 5 a) Patient(ID, FirstName, SurName, Admission Date, Dr_ID,Ward_No) Ailment(Ailment_ID, Name, Patient_ID) Ward(Ward_No, Ward_Name) Doctor(ID, SurName, First_Name, No_of_Patient, Ailment_ID) For the schema above, Write SQL to implement the following queries: i. List the FirstName of all patient of Dr. Michael'. ii. List all the patient of Dr. Kaderi Kibria who admit on 1st January 2022. b) Consider the following Relational Database. Student (roll_no, name, city, marks, c_no) Course (c_no, cname, fees) Write the SQL statement to find the following result i. List Student Details enrolled for DBA Course. ' ii. List the Course having fees > 20000 iii. Display Course details of all registered students'. 5

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

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

Students also viewed these Databases questions

Question

What must a creditor do to become a secured party?

Answered: 1 week ago

Question

5. Discuss the key roles for training professionals.

Answered: 1 week ago