DBMS2 Micro Project
DBMS2 Micro Project
Submitted by
2023-2024
DEPARTMENT OF ELECTRONICS AND
COMMUNICATION ENGINEERING
CERTIFICATE
This to certify that a Micro Project entitled with “DESIGN AND IMPLEMENT
UNIVERSITY DATABASE FOR EXTERNAL EXAMINATION SCHEDULE”is being
Submitted By
N. HYMA REDDY 22R01A0443
N. REVATHI CHOWDARY 22R01A0444
N. HIMA VENKAT SAI 22R01A0445
N. JAHNAVI 22R01A0446
We are extremely grateful to Dr. M. Janga Reddy, Director, Dr. G. Madhusudhana Rao, principal
and Dr. K. Niranjan Reddy, Head of Department, Dept of electronics and communication
Engineering, CMR Institute of their inspiration and valuable guidance during entire duration.
We are extremely thankful to our DBMS Lab faculty in-charge Mrs. B. Annapoorna, Dept of
(AIML) Computer science and Engineering, CMR Institute of Technology for her constant
guidance, encouragement and moral support throughout the project.
We express our thanks to all staff members and friends for all the help and coordination extended
in bringing out this project successfully in time.
Finally, we are very much thankful to our parents and relatives who guided directly or
indirectly for successful completion of the project.
SQL:
SQL stands for Structured Query Language. It is used for storing and managing data in
relational database management system (RDMS).
It is a standard language for Relational Database System. It enables a user to create, read,
update and delete relational databases and tables.
All the RDBMS like MySQL, Informix, Oracle, MS Access and SQL Server use SQL as
their standard database language.
SQL allows users to query the database in a number of ways, using English-like
statements.
Rules:
SQL follows the following rules:
Structure query language is not case sensitive. Generally, keywords of SQL are written in
uppercase.
Statements of SQL are dependent on text lines. We can use a single SQL statement on one
or multiple text line.
Using the SQL statements, you can perform most of the actions in a database. SQL
depends on tuple relational calculus and relational algebra
SQL Commands:
SQL commands are instructions. It is used to communicate with the database. It is also used
to perform specific tasks, functions, and queries of data.
SQL can perform various tasks like create a table, add data to tables, drop the table, modify
the table, set permission for users.
1
Types of SQL Commands:
There are five types of SQL commands: DDL, DML, DCL, TCL, and DQL.
2
c. ALTER: It is used to alter the structure of the database. This change could be
either to modify the characteristics of an existing attribute or probably to add a
newattribute. Syntax: ALTER TABLE table_name ADD column_name
COLUMN-definition;
d. TRUNCATE: It is used to delete all the rows from the table and free the space
containing the table. Syntax: TRUNCATE TABLE table_name;
REQUIREMENTS:
Hardware Requirements: Intel(R) Core (TM) i7-1005G1 CPU @ 1.20GHz 4 GB
1.19 GHz OF RAM
IMPLEMENTATION:
CREATE TABLE Students (
StudentID INT PRIMARY KEY,
FirstName VARCHAR(50),0
3
LastName VARCHAR(50),
Email VARCHAR(100)
);
4
);
5
CREATE TABLE Exams ( ExamID
INT PRIMARY KEY,
SubjectID INT,
ExamDate DATE,
StartTime TIME,
EndTime TIME,
Location VARCHAR(100),
FOREIGN KEY (SubjectID) REFERENCES Subjects(SubjectID)
);
6
7
CREATE TABLE Enrollments (
EnrollmentID INT PRIMARY KEY,
StudentID INT,
SubjectID INT,
FOREIGN KEY (StudentID) REFERENCES Students(StudentID),
FOREIGN KEY (SubjectID) REFERENCES Subjects(SubjectID)
);
8
CONCLUSION:
In conclusion, the implementation of a university database for external examination
schedules is a pivotal step towards enhancing efficiency, transparency, and overall
effectiveness in managing academic assessments. This database not only streamlines the
scheduling process but also offers a centralized platform for storing, accessing, and updating
critical information related to external examinations. By adopting such a system, universities
can ensure seamless coordination between various departments, faculty members, and
external examination bodies.
REFERENCE:
ChatGPT (openai.com)
9
10 | P a g e