Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

UUS Lao Answer Doc IN G 2/3 87.19 Consider the following tables DOCTOR DocID 101 102 103 First Name Muhammad Maryam Sumayyah Last Name Fateh

image text in transcribed

UUS Lao Answer Doc IN G 2/3 87.19 Consider the following tables DOCTOR DocID 101 102 103 First Name Muhammad Maryam Sumayyah Last Name Fateh Mazlan Idris Specialization Surgery Neurology Dermatology HireDate 15/05/2000 21/03/2001 07/02/2003 PATIENT PatientID 111 222 333 FirstName Khai Haqiem Siti Nurhaliza LastName Bahar Rusli Taruddin DocID 101 102 101 The tables show the data for PATIENT and DOCTOR. Each patient will be treated by only one doctor and each doctor will treat many patients. Answer the following questions, a) Create table for PATIENT with these constraints PatientID is a primary key and unique DocID is the foreign key which referring to DocID in DOCTOR table Patient ID cannot be mull (5 marks) b) Admin wants to insert a new doctor named Ali bin Abu (DocID = 101). State its possibility of the insertion according to entity integrity constraint rules. (2 marks) c) Find the list of doctors who start working between 2000 until 2019 and his/her specialization is surgery (3 marks) Type here to search cuer

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

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

What is electric dipole explain with example

Answered: 1 week ago

Question

4. Who would lead the group?

Answered: 1 week ago