You are on page 1of 4

PROJECT ON

APOLLO HOSPITAL

Developed By :- Enrollment
No :-

Atul Pandey 1582151708


Shruti Kamboj 1572151708
Savi Bansal 1522151708
Ankur Gupta 1702151708
SQL Queries
create database ApolloHospital

create table Patient


(
Pt_ID varchar(10) primary key not null,
FirstName varchar(20),
LastName varchar(20),
Address varchar(30),
City varchar(20),
State varchar(20),
Zipcode varchar(10),
Country varchar(20),
Contact varchar(20),
DocID varchar(20),
RoomNo varchar(10)
)

select*from Patient

insert into Patient


values('P001','Sunil','Saharan','Dalbir
Nagar','Bahadurgarh','Haryana','124507','India','925527
2045','D001','101')

create table Loginpage


(
Username varchar(30),
Password varchar(50)
)

select*from Loginpage

insert into Loginpage


values('Manish','bhardwaj')
create table Doctors
( DocID varchar(10) primary key not null,
DoctorName varchar(30),
Speciality varchar(30),
ContactNo varchar(20))

select*from Doctors

insert into Doctors


values('D001','Dr. B.K
Agarwal','Orthopedics','9416669020')

create table charity


( PersonID varchar(10) primary key not null,
PersonName varchar(30),
FundName varchar(30),
FundAmount Varchar(10),
ContactNo varchar(20) )

select*from charity

insert into charity


values('F001','R.K Mehta','Myelin
Fund','500000','9867234156')

create table staff


( StaffID varchar(10) primary key not null,
FirstName varchar(20), LastName varchar(20),
EmployeePost varchar(30),ContactNo varchar(20) )

select*from staff
insert into staff
values('S001','Prem','Singh','Sweeper','9211807251')
ACKNOWLEDGEMENT
I would like to express my gratitude to all those who
gave me the opportunity to complete this project. I
would like to thanks _____ for give me permission to
work on this project as well as. I will thanks Miss
___________ who encouraged me to go ahead with
our project.

You might also like