0% found this document useful (0 votes)
23 views10 pages

Insert - Statements Final

Uploaded by

mfaroque874
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views10 pages

Insert - Statements Final

Uploaded by

mfaroque874
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 10

Clinic_Info ============

INSERT INTO Clinic_Info (clinic_id, clinic_name, registration_no,


address,motto,tin_number, last_renew, last_aduit, phone_no, email)
VALUES (1281000,'LIFE CARE CLINIC',159357, '271 Green Road','we take care our
patients health',852654, '01-Dec-2020','06-May-
2022','+13454600','lifecare3@gmail.com');

Departments =============

INSERT INTO Departments (department_id,department_name)


VALUES (201,'Internal Medicine');

INSERT INTO Departments (department_id,department_name)


VALUES (202,'Pediatrics');

INSERT INTO Departments (department_id,department_name)


VALUES (203,'Obstetrics and Gynecology ');

INSERT INTO Departments (department_id,department_name)


VALUES (204,'Orthopedic');

INSERT INTO Departments (department_id,department_name)


VALUES (205,'Neurology');

INSERT INTO Departments (department_id,department_name)


VALUES (206,'Dermatology');

INSERT INTO Departments (department_id,department_name)


VALUES (207,'Urology');

INSERT INTO Departments (department_id,department_name)


VALUES (208,'Radiology');

INSERT INTO Departments (department_id,department_name)


VALUES (209,'Psychiatry');

INSERT INTO Departments (department_id,department_name)


VALUES (210,'Endocrinology');

INSERT INTO Departments (department_id,department_name)


VALUES (211,'Gastroenterology');

INSERT INTO Departments (department_id,department_name)


VALUES (212,'Ophthalmology');

INSERT INTO Departments (department_id,department_name)


VALUES (213,'Pathology');

INSERT INTO Departments (department_id,department_name)


VALUES (214,'Radiology');

INSERT INTO Departments (department_id,department_name)


VALUES (215,'Pulmonology');

INSERT INTO Departments (department_id,department_name)


VALUES (216,'Rheumatology');
INSERT INTO Departments (department_id,department_name)
VALUES (217,'Cardiology');

JOBS ==============

INSERT INTO JOBS (Job_id,Job_title)


VALUES (601,'Doctor');

INSERT INTO JOBS (Job_id,Job_title)


VALUES (602,'Nurse');

INSERT INTO JOBS (Job_id,Job_title)


VALUES (603,'Accountant');

INSERT INTO JOBS (Job_id,Job_title)


VALUES (604,'Cleaner');

INSERT INTO JOBS (Job_id,Job_title)


VALUES (605,'Receptionist');

INSERT INTO JOBS (Job_id,Job_title)


VALUES (606,'Medical technologist');

INSERT INTO JOBS (Job_id,Job_title)


VALUES (607,'Radiologic technician');

INSERT INTO JOBS (Job_id,Job_title)


VALUES (608,'Occupational therapist');

INSERT INTO JOBS (Job_id,Job_title)


VALUES (609,'Physician assistant');

INSERT INTO JOBS (Job_id,Job_title)


VALUES (610,'Pathologist assistant');

INSERT INTO JOBS (Job_id,Job_title)


VALUES (611,'Scientific reporting');

INSERT INTO JOBS (Job_id,Job_title)


VALUES (612,'Lab Staff');

Employees =============

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (101,612,201,'Alex','alex@gmail.com','01-Jan-
2020','01515641785',35000,0.2,'Alexgender','Maria','Single');

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (102,611,202,'Zahed','zahed@gmail.com','05-April-
2021',01715641796,17000,0.3,'Ahmedullah','Sultana','Married');

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (103,610,203,'Rafiq','rafiq@gmail.com','20-May-
2018',01765641787,22000,0.0,'Tarek','Khadija','Single');

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (104,609,204,'Azhar','azhar@gmail.com','01-Feb-
2024',01815641784,24000,0.5,'Tanvir','Sultana','Married');

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (105,608,205,'Yeameen','yeameen@gmail.com','15-Jan-
2018',01695641769,40000,0.4,'Sintu','Kusum','Single');

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (106,607,206,'Taif','taif@gmail.com','01-Jun-
2023',01915641763,27000,0.6,'Ahsan','Khuku','Married');

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (107,606,207,'Joynob','joynob@gmail.com','15-Nov-
2021',01698641785,45000,0.7,'Imam','Moyna','Single');

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (108,605,208,'Maruf','maruf@gmail.com','01-Dec-
2020',01515641785,60000,0.8,'Amanullah','Ruma','Married');

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (109,604,209,'Taniya','taniya@gmail.com','01-Jan-
2020',01515696385,39000,0.2,'Jaman Haque','Minara Begum','Single');

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (110,603,210,'Tarek','tarek@gmail.com','01-Jan-
2021',01696641785,40000,0.2,'Rejaul Karim','Sultana','Married');

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (111,602,211,'Akhi','akhi@gmail.com','01-Jan-
2018',01755641785,42000,0.2,'Mushfiq','tamanna','Single');

INSERT INTO Employees


(employee_id,job_id,department_id,employee_name,email,hire_date,mobile_no,salary,co
mm_pct,fathers_name,mothers_name,marital_status)
VALUES (112,601,212,'Omor','omor@gmail.com','01-Oct-
2017',01715641780,29000,0.6,'Mahatab','Nasima','Married');
ROOMS ===========

INSERT INTO rooms (room_id, room_type, floor, employee_id )


VALUES (1,'Consultation', '1st',102 );

INSERT INTO rooms (room_id, room_type, floor, employee_id )


VALUES (2,'Waiting', 'First floor', 102 );

INSERT INTO rooms (room_id, room_type, floor, employee_id )


VALUES (3,'Diagonstic room', '2nd',103 );

INSERT INTO rooms (room_id, room_type, floor, employee_id )


VALUES (4,'Treatment Rooms', 1st,104 );

INSERT INTO rooms (room_id, room_type, floor, employee_id )


VALUES (5,'Emergency reponse room', 1st,105 );

INSERT INTO rooms (room_id, room_type, floor, employee_id )


VALUES (6,'Staff Rooms', 2nd,106 );

INSERT INTO rooms (room_id, room_type, floor, employee_id )


VALUES (7,'Pharmacy', 1st, 107 );

INSERT INTO rooms (room_id, room_type, floor, employee_id )


VALUES (8,'Diagnostic Rooms', 2nd, 108);

INSERT INTO rooms (room_id, room_type, floor, employee_id )


VALUES (9,'Procedure Rooms', 1st,109 );

INSERT INTO rooms (room_id, room_type, floor, employee_id )


VALUES (10,'Test Rooms', 1st, 110 );

DEPARTMENT_ROOMS ===============

INSERT INTO department_rooms (department_room_id,department_id, room_id)


VALUES (1,201, 1);

INSERT INTO department_rooms (department_room_id,department_id, room_id)


VALUES (2, 202, 2);

INSERT INTO department_rooms (department_room_id,department_id, room_id)


VALUES (3, 203, 3);

INSERT INTO department_rooms (department_room_id,department_id, room_id)


VALUES (4, 204 ,4);

INSERT INTO department_rooms (department_room_id,department_id, room_id)


VALUES (5,205, 5);

INSERT INTO department_rooms (department_room_id,department_id, room_id)


VALUES (6,206 6);

INSERT INTO department_rooms (department_room_id,department_id, room_id)


VALUES (7,207, 7);

INSERT INTO department_rooms (department_room_id,department_id, room_id)


VALUES (8,208, 8);

INSERT INTO department_rooms (department_room_id,department_id, room_id)


VALUES (9,209, 9);

INSERT INTO department_rooms (department_room_id,department_id, room_id)


VALUES (10, 210 10);

Doctor_Schedule =================

INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,


start_time, end_time, available)
VALUES (10,'General practitioner',101 , DATE '2024-07-06', TIMESTAMP '2024-07-06
09:00:00', TIMESTAMP '2024-07-06 17:00:00',1);

INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,


start_time, end_time, available)
VALUES (11,'Pediatricians',102 , DATE '2024-07-06', TIMESTAMP '2024-07-06
09:00:00', TIMESTAMP '2024-07-06 17:00:00',1);

INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,


start_time, end_time, available)
VALUES (12,'Obstetrician and gynecologists',103 , DATE '2024-07-06', TIMESTAMP
'2024-07-06 09:00:00', TIMESTAMP '2024-07-06 17:00:00',1);

INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,


start_time, end_time, available)
VALUES (13,'Orthopedics',104 , DATE '2024-07-06', TIMESTAMP '2024-07-06 09:00:00',
TIMESTAMP '2024-07-06 17:00:00',0);

INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,


start_time, end_time, available)
VALUES (14,'Neurologist',105 , DATE '2024-07-06', TIMESTAMP '2024-07-06 09:00:00',
TIMESTAMP '2024-07-06 17:00:00',1);

INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,


start_time, end_time, available)
VALUES (15,'Dermatologist',106 , DATE '2024-07-06', TIMESTAMP '2024-07-06
09:00:00', TIMESTAMP '2024-07-06 17:00:00',0);

INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,


start_time, end_time, available)
VALUES (15,'Urologist',107 , DATE '2024-07-06', TIMESTAMP '2024-07-06 09:00:00',
TIMESTAMP '2024-07-06 17:00:00',1);

INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,


start_time, end_time, available)
VALUES (17,'Radiologist',108 , DATE '2024-07-06', TIMESTAMP '2024-07-06 09:00:00',
TIMESTAMP '2024-07-06 17:00:00',1);

INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,


start_time, end_time, available)
VALUES (18,'Psychiatrist',109 , DATE '2024-07-06', TIMESTAMP '2024-07-06 09:00:00',
TIMESTAMP '2024-07-06 17:00:00',0);

INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,


start_time, end_time, available)
VALUES (19,'Pulmonologist',110 , DATE '2024-07-06', TIMESTAMP '2024-07-06
09:00:00', TIMESTAMP '2024-07-06 17:00:00',1);
INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,
start_time, end_time, available)
VALUES (20,' Rheumatologist',111 , DATE '2024-07-06', TIMESTAMP '2024-07-06
09:00:00', TIMESTAMP '2024-07-06 17:00:00',1);

INSERT INTO doctor_schedule (schedule_id,doc_type,employee_id, schedule_date,


start_time, end_time, available)
VALUES (21,'Cardiologist',112 , DATE '2024-07-06', TIMESTAMP '2024-07-06 09:00:00',
TIMESTAMP '2024-07-06 17:00:00',1);

MEDICINE_CATEGORY ============

INSERT INTO medicine_category (m_category_id, m_category_name, description,


created_date, last_upd_date, availability)
VALUES (1, 'Painkillers', 'Medicines used to relieve pain.', SYSDATE, SYSDATE,
'Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (2, 'Antibiotics', 'Medicines used to treat bacterial infections.', SYSDATE,
SYSDATE, 'Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (3, 'Antacids', ' Drugs that relieve indigestion and heartburn by
neutralizing stomach acid.', SYSDATE, SYSDATE, 'Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (4, 'Antifungals:', 'Medicines used to treat fungal infections.', SYSDATE,
SYSDATE, 'Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (5, 'Cytotoxics', 'Drugs that kill or damage cells.', SYSDATE, SYSDATE, 'Not
Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (6, 'Vitamins', 'Chemicals essential in small quantities for good health.',
SYSDATE, SYSDATE, 'Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (7, 'Cough Suppressants', 'Medicines used to cough treatments.', SYSDATE,
SYSDATE, 'Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (8, 'Bronchodilators', ' Medicines used to ease breathing in diseases such
as asthma.', SYSDATE, SYSDATE, 'Not Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (9, 'Antipyretics', 'Medicines used to reduce fever.', SYSDATE, SYSDATE,
'Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (10, 'Antipsychotics', 'Medicines used to treat symptoms of severe
psychiatric disorders.', SYSDATE, SYSDATE, 'Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (11, 'Antineoplastics', 'Medicines used to treat cancer.', SYSDATE, SYSDATE,
'Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (12, 'Antihypertensives', 'Drugs that lower blood pressure.', SYSDATE,
SYSDATE, 'Available');

INSERT INTO medicine_category (category_id, category_name, description,


created_date, last_upd_date, availability)
VALUES (13, 'Hypoglycemics', 'Drugs that lower the level of glucose in the
blood .', SYSDATE, SYSDATE, ' Not Available');

Test_info ==========

insert into test_info


(test_id,test_name,t_category_id ,patient_id,employee_id,
test_cost,test_date,status,
result,precaution,default_value)
values(1,'Typhidot',1,10,100,500,'02-JULY-24',null,'Positive',null,null);

insert into test_info


(test_id,test_name,t_category_id ,patient_id,employee_id,
test_cost,test_date,status,
result,precaution,default_value)
values(2,'Hb%',2,20,101,300,'03-JULY-24',null,'Negative',null,null);

insert into test_info


(test_id,test_name,t_category_id ,patient_id,employee_id,
test_cost,test_date,status,
result,precaution,default_value)
values(3,'CBC',3,30,102,400,'05-JULY-24',null,'Negative',null,null);

insert into test_info


(test_id,test_name,t_category_id ,patient_id,employee_id,
test_cost,test_date,status,
result,precaution,default_value)
values(4,'Dengue Test',4,40,103,500,'06-JULY-24',null,'Negative',null,null);

insert into test_info


(test_id,test_name,t_category_id ,patient_id,employee_id,
test_cost,test_date,status,
result,precaution,default_value)
values(5,'Blood Urea Nitrogen (BUN)',5,50,104,600,'07-JULY-
24',null,'Negative',null,null);

Test_category ==============

insert into test_category


(T_CATEGORY_ID,T_CATEGORY_NAME,DESCRIPTION,CREATED_DATE,LAST_UPD_DATE,AVAILABILITY)
values(1,'Blood',null,'6-MAR-23',SYSDATE,'YES');

insert into test_category


(T_CATEGORY_ID,T_CATEGORY_NAME,DESCRIPTION,CREATED_DATE,LAST_UPD_DATE,AVAILABILITY)
values(2,'Thyroid function',null,'7-MAR-23',SYSDATE,'YES');

insert into test_category


(T_CATEGORY_ID,T_CATEGORY_NAME,DESCRIPTION,CREATED_DATE,LAST_UPD_DATE,AVAILABILITY)
values(3,'Thyroid function',null,'8-MAR-23',SYSDATE,'No');

insert into test_category


(T_CATEGORY_ID,T_CATEGORY_NAME,DESCRIPTION,CREATED_DATE,LAST_UPD_DATE,AVAILABILITY)
values(4,'toxicology',null,'8-MAR-23',SYSDATE,'No');

insert into test_category


(T_CATEGORY_ID,T_CATEGORY_NAME,DESCRIPTION,CREATED_DATE,LAST_UPD_DATE,AVAILABILITY)
values(5,'Hormone',null,'8-MAR-23',SYSDATE,'No');

setup ======

insert into setup


(setup_id,opd_tkt_value,created_date,last_upd_date)
values(1,20,'20-JAN-21','10-JAN-20');

insert into setup


(setup_id,opd_tkt_value,created_date,last_upd_date)
values(2,30,'20-JAN-21','10-JAN-21');

insert into setup


(setup_id,opd_tkt_value,created_date,last_upd_date)
values(3,40,'20-JAN-21','10-JAN-22');

insert into setup


(setup_id,opd_tkt_value,created_date,last_upd_date)
values(4,50,'20-JAN-21','10-JAN-23');

insert into setup


(setup_id,opd_tkt_value,created_date,last_upd_date)
values(5,60,'20-JAN-21','10-JAN-24');

supplier =========

insert into supplier


(supplier_id,supplier_name,address,phone_number,email)
values(10101,'Abel','mirpur-1','01730921414','abel@gmai');
insert into supplier
(supplier_id,supplier_name,address,phone_number,email)
values(10102,'King','mirpur-1','01730921415','king@gmai');

insert into supplier


(supplier_id,supplier_name,address,phone_number,email)
values(10103,'Cimi','mirpur-1','01730921416','cimi@gmai');

insert into supplier


(supplier_id,supplier_name,address,phone_number,email)
values(10104,'Kel','mirpur-1','01730921417','kel@gmai');

insert into supplier


(supplier_id,supplier_name,address,phone_number,email)
values(10105,'Noya','mirpur-1','01730921417','noya@gmai');

medicine_info =============

insert into medicine_info


(medicine_id,medicine_name,m_category_id,generic_name,brand_name,description,
indication,side_effects, batch_number,production_date,
expiry_date,cost)
values(101,'Napa',1,'Paracetamol','beximco pharma',null,'fever','no',321131,
'12-MAR-21','20-JUN-2025',5);

insert into medicine_info


(medicine_id,medicine_name,m_category_id,generic_name,brand_name,description,
indication,side_effects, batch_number,production_date,
expiry_date,cost)
values(101,'Sergel',2,'Esomeprazole','beximco pharma',null,'Gastric','no',321413,
'12-MAR-21','20-JUN-2025',10);

insert into medicine_info


(medicine_id,medicine_name,m_category_id,generic_name,brand_name,description,
indication,side_effects, batch_number,production_date,
expiry_date,cost)
values(101,'Ecosprin',2,'Aspirin','ACME
Laboratories',null,'infarction','no',322410,
'12-MAR-21','20-JUN-2025',8);

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy