DBMS Project Report

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

DBMS PROJECT

REPORT

DONE BY:
VENKAT SUMANTH
SHIVA CHAITANYA
K. KRISHNA VAMSI
SEC - B
CASE STUDY: Shrava Fest
IBM university is going to conduct Shrava Fest in the
upcoming month on the following dates(27th and 28th of march).In
this fest, various workshops, technical and non-technical events will
be conducted. To conduct this event there should be various teams
who work hard for the prosperity of the fest. Each team will contain
a group of students and they will get identity cards. Different teams
who are working for this fest are the firewall, technical,
nontechnical, proshow management team. There would be a limited
number of workshops conducted having different costs and a
limited number of students are allowed to enroll in it.
To manage the students, faculty guidance is required. So each
faculty is allocated with a workshop. To maintain the workshop
record a relation is created which contains the information of the
students. Apart from the learning in a fest, there should be
enjoyment for which various stalls and food courts are placed. For
each stall, there would be an auction done on campus in which
students will bid and the highest bid will get the stall and he can
place the stall in respective venues. Food stall plays a major role in
the fest. There would be a number of food items that will help us to
maintain energy throughout the fest. Each food item has its
respective prices.
Fest without Pro-shows is exhausting. To make this fest
progressively magnificent celebs will be coming. They have their
individual installment for the show which would be checked by the
Students..
Sponsors play a key role in the fest in the matters of funding. To
find different sponsors a team containing students will look into it.
The Registrar of the university approached you and asked if you
could design a database to manage all the data.
ER DIAGRAM:
Relational Schema:
SQL Source Code:
CREATE TABLE College_Fest
(
);

CREATE TABLE Student_DB


(
stu_name INT NOT NULL,
stu_id INT NOT NULL,
stu_dob INT NOT NULL,
stu_dept INT NOT NULL,
stu_batch INT NOT NULL,
PRIMARY KEY (stu_id)
);

CREATE TABLE Faculty_DB


(
fac_name INT NOT NULL,
fac_id INT NOT NULL,
fac_dept INT NOT NULL,
PRIMARY KEY (fac_id)
);

CREATE TABLE WorkShops


(
);

CREATE TABLE IOT


(
attendcnt INT NOT NULL,
id INT NOT NULL,
PRIMARY KEY (id)
);

CREATE TABLE MATLAB


(
attendcnt INT NOT NULL,
id INT NOT NULL,
PRIMARY KEY (id)
);

CREATE TABLE Arduino


(
id INT NOT NULL,
attendcnt INT NOT NULL,
PRIMARY KEY (id)
);

CREATE TABLE DataMining


(
id INT NOT NULL,
attendcnt INT NOT NULL,
PRIMARY KEY (id)
);

CREATE TABLE AndroidDev


(
id INT NOT NULL,
attendcnt INT NOT NULL,
PRIMARY KEY (id)
);

CREATE TABLE wps_finance


(
wps_id INT NOT NULL,
wps_amt INT NOT NULL,
PRIMARY KEY (wps_id)
);

CREATE TABLE CyberSec


(
id INT NOT NULL,
attendcnt INT NOT NULL,
PRIMARY KEY (id)
);

CREATE TABLE FoodStalls


(
amtcollected INT NOT NULL,
stall_id INT NOT NULL,
stall_name INT NOT NULL,
PRIMARY KEY (stall_id)
);

CREATE TABLE proshow


(
show_id INT NOT NULL,
show_name INT NOT NULL,
show_amt INT NOT NULL,
PRIMARY KEY (show_id)
);

CREATE TABLE Non_Technical


(
);

CREATE TABLE music


(
id INT NOT NULL,
attendcnt INT NOT NULL,
PRIMARY KEY (id)
);

CREATE TABLE dance


(
id INT NOT NULL,
attendcnt INT NOT NULL,
PRIMARY KEY (id)
);

CREATE TABLE n_finance


(
n_amt INT NOT NULL,
n_id INT NOT NULL,
PRIMARY KEY (n_id)
);

CREATE TABLE finance


(
n_amt INT NOT NULL,
wps_amt INT NOT NULL,
show_amt INT NOT NULL,
amtcollected INT NOT NULL
);

You might also like