Skip to content

v-sanjay21/sql-student-database-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Student Database Management System (SQL Project)

This project is a simple SQL-based student database system created for learning and demonstrating SQL fundamentals. It includes a student table with 50 records, covering basic student attributes such as roll number, name, department, year, CGPA, age, phone number, blood group, gender, and email.

The SQL script includes a variety of operations commonly used in academic and real-world database work.


πŸ“Œ Features Implemented

1. Table Creation

  • Creates a student table with appropriate column types
  • Includes NOT NULL and PRIMARY KEY constraints

2. Bulk Data Insertion

  • Inserts 50 student records
  • Covers multiple departments and years for variety

3. Basic SQL Operations

  • Retrieve all records
  • Filter students by department
  • Filter students by year
  • Find students with CGPA above a certain threshold

4. Aggregate Functions

  • Count total students
  • Count students by department
  • Calculate average CGPA
  • Filter students with CGPA > overall average

5. Pattern Matching (LIKE)

  • Search names starting with a specific letter
  • Search email domains

6. Sorting

  • Sort students by CGPA
  • Sort by name

7. Grouping and Summary

  • Group by department
  • Group by year

8. Case-Based Categorization

  • Categorize student performance as:
    • Excellent
    • Good
    • Average

πŸ“‚ File Included

student_database.sql

This file contains:

  • Table creation query
  • Data insertion
  • Query operations
  • Analytical queries

πŸ› οΈ Tools Used

  • SQL
  • MySQL / PostgreSQL / SQL-compatible engines
  • VS Code (for writing script)

πŸ“„ Purpose of This Project

This SQL project is created as part of hands-on learning for:

  • Understanding database design
  • Practicing SQL queries
  • Demonstrating problem-solving skills in real data scenarios

It is also submitted as a sample project for Cognizant GenC as part of the technical skill verification.


πŸ“¬ Contact

Sanjay V
Email: sanjayav636@gmail.com
LinkedIn: https://linkedin.com/in/sanjay-v-629527271

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published