Answered step by step
Verified Expert Solution
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
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
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