Programming Assignment Unit 7 Solution v1
Programming Assignment Unit 7 Solution v1
Insert Into Doctor (DoctorID, Name, Phone, SpecialtyNumber, Supervisor) Values ('D1','Doctor
Karen','555-1212','S6','');
Insert Into Doctor (DoctorID, Name, Phone, SpecialtyNumber, Supervisor) Values ('D2','Doctor
John','555-2934','S2','D1');
Insert Into Doctor (DoctorID, Name, Phone, SpecialtyNumber, Supervisor) Values ('D3','Doctor
Robert','555-6723','S6','D1');
Insert Into Doctor (DoctorID, Name, Phone, SpecialtyNumber, Supervisor) Values ('D4','Doctor
David','555-1745','S4','D1');
Insert Into Doctor (DoctorID, Name, Phone, SpecialtyNumber, Supervisor) Values ('D5','Doctor
Mary','555-6565','S5','D1');
Insert Into Doctor (DoctorID, Name, Phone, SpecialtyNumber, Supervisor) Values ('D6','Doctor
Linda','555-4889','S1','D1');
Insert Into Doctor (DoctorID, Name, Phone, SpecialtyNumber, Supervisor) Values ('D7','Doctor
Susan','555-4581','S3','D1');
Insert Into Doctor (DoctorID, Name, Phone, SpecialtyNumber, Supervisor) Values ('D8','Doctor
Zeynep','555-7891','S4','D1');
Insert Into Doctor (DoctorID, Name, Phone, SpecialtyNumber, Supervisor) Values ('D9','Doctor
Mat','555-7791','S1','D1');
Retrieve All Data from Doctor Table
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P1','D2','Patient Dana','444-1212','[email protected]','123 Home St.','2019-2-1');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P2','D7','Patient Harry','444-2934','[email protected]','3435 Main St.','2011-7-13');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P3','D6','Patient Karl','444-6723','[email protected]','2176 Baker St.','2009-5-10');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P4','D2','Patient Sid','444-1745','[email protected]','176 Right St.','2010-6-20');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P5','D8','Patient Marry','444-6565','[email protected]','435 Main St.','2014-5-18');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P6','D6','Patient Kim','444-4889','[email protected]','34 Home St.','2018-3-15');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P7','D4','Patient Susan','444-4581','[email protected]','65 Water St.','2011-9-7');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P8','D3','Patient Sam','444-7891','[email protected]','23 Hill Drive','2010-11-23');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P9','D5','Patient Peter','444-7791','[email protected]','12 River St.','2008-2-1');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P10','D7','Patient Nick','123-1212','[email protected]','335 Bay St.','2011-7-13');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P11','D9','Patient Kyle','123-2934','[email protected]','216 Baker St.','2016-5-10');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P12','D9','Patient Garcia','123-6723','[email protected]','176 Right St.','2010-6-20');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P13','D4','Patient Alicia','123-1745','[email protected]','823 Left St.','2015-5-18');
Insert Into Patient (PatientID, DoctorID, Name, Phone, Email, Address, AddedDate) Values
('P14','D4','Patient Dan','123-6565','[email protected]','534 High St.','2018-3-15');
Retrieve All Data from Patient Table