Skip to content

Commit 1791d8d

Browse files
authored
Update README.md
1 parent 24f88a7 commit 1791d8d

File tree

1 file changed

+43
-1
lines changed

1 file changed

+43
-1
lines changed

README.md

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,44 @@
11
# College-DBMS-project
2-
College Database Management System (Mini Project for DBMS subject)
2+
# College Database Management System
3+
4+
This project implements a simple College Database Management System using PostgreSQL. It includes SQL scripts for creating tables, inserting data, and performing various queries.
5+
6+
## Project Structure
7+
8+
The project is divided into the following SQL script files:
9+
10+
1. **ddl.sql**: Contains Data Definition Language (DDL) commands for creating tables.
11+
2. **dml.sql**: Contains Data Manipulation Language (DML) commands for inserting data into the tables.
12+
3. **queries.sql**: Contains various SQL queries for retrieving and manipulating data.
13+
14+
## Tables
15+
16+
The database consists of the following tables:
17+
18+
- `STUDENT`: Stores details of students.
19+
- `SEMSEC`: Stores information about semesters and sections.
20+
- `CLASS`: Stores information about which student is in which class.
21+
- `SUBJECT`: Stores details about subjects.
22+
- `IAMARKS`: Stores internal assessment marks of students.
23+
24+
## SQL Scripts
25+
26+
### DDL (Data Definition Language)
27+
28+
The `ddl.sql` file contains SQL commands to create the tables
29+
30+
### DML (Data Manipulation Language)
31+
32+
The `dml.sql` file contains SQL commands to insert/update/delete data into the tables
33+
34+
### DQL (Data Query Language)
35+
36+
The `queries.sql` file contains SQL commands to fetch the data from the tables
37+
38+
How to Run ?
39+
40+
1. Install PostgreSQL: Make sure PostgreSQL is installed on your system.
41+
2. Create Database: Create a new database in PostgreSQL.
42+
3. Execute DDL Script: Run the ddl.sql script to create the tables.
43+
4. Execute DML Script: Run the dml.sql script to insert data into the tables.
44+
5. Execute Queries: Run the queries.sql script to perform various queries.

0 commit comments

Comments
 (0)