-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample-data.sql
More file actions
25 lines (21 loc) · 1.12 KB
/
Copy pathsample-data.sql
File metadata and controls
25 lines (21 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
-- Doctors
INSERT INTO doctor (email, name, password, phone, specialty) VALUES
('dr.adams@example.com', 'Dr. Emily Adams', 'pass12345', '555-101-2020', 'Cardiologist'),
('dr.johnson@example.com', 'Dr. Mark Johnson', 'secure4567', '555-202-3030', 'Neurologist'),
-- ... (all 25 doctor rows you already ran)
('dr.ward@example.com', 'Dr. Ruby Ward', 'wardWard', '555-555-6667', 'Dermatologist');
-- Patients
INSERT INTO patient (address, email, name, password, phone) VALUES
('101 Oak St, Cityville', 'jane.doe@example.com', 'Jane Doe', 'passJane1', '888-111-1111'),
-- ... (all 25 patient rows)
('126 Olive Rd, Ashville', 'ella.moore@example.com', 'Ella Moore', 'ellamoore', '890-555-5555');
-- Appointments
INSERT INTO appointment (appointment_time, status, doctor_id, patient_id) VALUES
('2025-05-01 09:00:00.000000', 0, 1, 1),
-- ... (all 130 appointment rows)
('2025-04-10 13:00:00.000000', 1, 4, 7);
-- Admin
INSERT INTO admin (username, password)
VALUES ('admin', 'admin@1234');
-- Doctor available times (still pending — insert once you've written these)
-- INSERT INTO doctor_available_times (doctor_id, available_times) VALUES ...