Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

sql_syllabus

1. Database

A Database is an organized collection of data stored electronically.

Example:

A college database stores:

  1. Student Details
  2. Faculty Details
  3. Marks
  4. Attendance

Example table:

Student_ID Name Department 101 Suganya CSE 102 Divya IT

2 DBMS (Database Management System)

A DBMS is software that allows users to create, store, update, delete, and retrieve data from a database.

Features: Create databases Insert records Update records Delete records Search data Manage users Examples: FoxPro dBase Microsoft Access

3. RDBMS (Relational Database Management System)

An RDBMS is an advanced type of DBMS where data is stored in tables, and relationships are established using Primary Keys and Foreign Keys.

Example:

Department Table

Dept_ID Department 1 CSE 2 IT

Employee Table

Emp_ID Name Dept_ID 101 Suganya 1 102 Divya 2

SQL (Structured Query Language) SQL is a standard language used to create, manage, and manipulate data in relational databases.

Uses of SQL: Create databases and tables Insert data Retrieve data Update data Delete data MYSQL MySQL is an open-source RDBMS developed by Oracle Corporation that stores data in tables and uses SQL to perform database operations.

Features of MySQL: Open source Fast and reliable Supports multiple users Stores data in tables

SQL Data Types

INT FLOAT DECIMAL CHAR VARCHAR TEXT DATE TIME DATETIME TIMESTAMP BOOLEAN

SQL Commands

DISPLAY EMPLOYEE TABLE

Screenshot 2026-08-03 085723 Image

DISPLAY ATTENDANCE TABLE

Screenshot 2026-08-03 091714 image

DISPLAY LEAVE_REQUESTS TABLE

image image

DISPLAY PAYROLL TABLE

image image

Display Employee Names and Attendance Status

image image image image image image image image image image image image image image image

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors