You are on page 1of 2

select * from doctors;

+----------------+----+------+---------------+------------+-------------------+------+---------------------+
| name | id | age | date_of_birth | mobile_no | specialization | fees | years_of_experience |
+----------------+----+------+---------------+------------+-------------------+------+---------------------+
| Nalin Joshi | 6 | 30 | 1990-01-12 | 9878778678 | Allergist | 500 | 15 |
| Seema Mehta | 7 | 37 | 1992-09-15 | 9087678909 | General Physician | 300 | 8 |
| Arvind Gupta | 8 | 39 | 1987-09-12 | 8976789053 | Nephrologist | 350 | 12 |
| Virendra Singh | 10 | 33 | 1992-04-18 | 9867876754 | Neurologist | 250 | 10 |
| Sakshi Agarwal | 12 | 25 | 1996-02-13 | 9878864567 | Cardiologist | 200 | 4 |
| Dinesh Mathur | 18 | 40 | 1985-09-03 | 9845678765 | Surgeon | 300 | 12 |
+----------------+----+------+---------------+------------+-------------------+------+---------------------+
6 rows in set (0.00 sec)

mysql> select * from patients;


+------------+----------------+------+--------+-------------------+------------+---------------
+-----------------+---------------------+-------------------+------------------+
| patient_ID | name | age | gender | address | contact_no | date_of_birth |
consultant_name | date_of_consultancy | department | consultancy_fees |
+------------+----------------+------+--------+-------------------+------------+---------------
+-----------------+---------------------+-------------------+------------------+
| 101 | Vikram Singh | 25 | M | 121,mahesh nagar | 8767456765 | 1995-02-12 | Seema Mehta
| 2019-06-12 | General Physician | 300 |
| 103 | Kanchi Singh | 29 | F | 119,Malviya Nagar | 8978765656 | 1983-02-12 | Arvind
Gupta | 2019-09-19 | Nephrologist | 350 |
| 105 | Rahul Gupta | 40 | M | 103,Sanganer Road | 8978678765 | 1973-09-14 | Virendra
Singh | 2019-07-03 | Neurologist | 250 |
| 107 | Vranda Solanki | 24 | F | 121,Heera Path | 8787876798 | 1994-09-04 | Dinesh
Mathur | 2019-07-12 | Surgeon | 300 |
| 109 | Sakshi Verma | 34 | F | 129,mansarovar | 8909876789 | 1987-09-12 | Nalin Joshi
| 2019-08-07 | Allergist | 500 |
+------------+----------------+------+--------+-------------------+------------+---------------
+-----------------+---------------------+-------------------+------------------+
5 rows in set (0.00 sec)

mysql> select * from room_info;


+---------+--------------+----------------------+-------------+----------------+
| room_no | room_type | room_charges_per_day | room_status | patient_name |
+---------+--------------+----------------------+-------------+----------------+
| 116 | Deluxe | 3000 | Booked | Rahul Gupta |
| 201 | General Ward | 500 | Booked | Kanchi Singh |
| 211 | Super Deluxe | 4500 | Not Booked | - |
| 224 | Private | 900 | Booked | Vranda Solanki |
| 234 | Semi Private | 1500 | Not Booked | - |
+---------+--------------+----------------------+-------------+----------------+
5 rows in set (0.00 sec)

mysql> select * from bill_details;


+---------+------------+------------------+--------------+----------------+-------------+--------------
+--------------+
| bill_no | bill_date | name | room_charges | pathology_fees | doctor_fees | total_amount |
room_type |
+---------+------------+------------------+--------------+----------------+-------------+--------------
+--------------+
| 104 | 2019-01-06 | Prateek Gupta | 4500 | 6000 | 1850 | 12350 |
Private |
| 108 | 2019-07-19 | Kashish Malhotra | 13500 | 5000 | 1750 | 20250 |
Super Deluxe |
| 111 | 2019-05-24 | Priya Mehta | 2000 | 6000 | 1550 | 9550 |
General Ward |
| 118 | 2019-09-16 | Piyush Singhal | 6000 | 8000 | 2550 | 16550 |
Semi Private |
| 124 | 2019-08-25 | Deepak Singhal | 6000 | 7000 | 1650 | 14650 |
Deluxe |
+---------+------------+------------------+--------------+----------------+-------------+--------------
+--------------+

You might also like