Convert the following ERD into tables (Provide a valid schema or CREATE TABLE SQL statements indicating primary keys, at
Posted: Fri May 20, 2022 3:32 pm
Convert the following ERD into tables (Provide a valid schema or
CREATE TABLE SQL statements indicating primary keys, attributes,
foreign keys, etc.).
DOCTOR doc physicianidnumber doc_firstname doc_lastname APPOINTMENT "app_date J'app_time app_duration HT app_reason is scheduled for schedules BILL "bill number bill_amountinsured bill_amountnotinsured bill_datesent bill_status days + PAYMENT *pay_receiptnumber pay_amount pay_date pay_method PATIENT makes "pat_idnumber pat_firstname pat_lastname pat_address pat_city pat_state is made by is insured by INSURANCE COMPANY "ns_name ins_benefitscontact Hins_phonenumber ins_claimsaddress Note: all the relationships are in dotted line except for the two relationships - "is scheduled for" and "schedules."
CREATE TABLE SQL statements indicating primary keys, attributes,
foreign keys, etc.).
DOCTOR doc physicianidnumber doc_firstname doc_lastname APPOINTMENT "app_date J'app_time app_duration HT app_reason is scheduled for schedules BILL "bill number bill_amountinsured bill_amountnotinsured bill_datesent bill_status days + PAYMENT *pay_receiptnumber pay_amount pay_date pay_method PATIENT makes "pat_idnumber pat_firstname pat_lastname pat_address pat_city pat_state is made by is insured by INSURANCE COMPANY "ns_name ins_benefitscontact Hins_phonenumber ins_claimsaddress Note: all the relationships are in dotted line except for the two relationships - "is scheduled for" and "schedules."