Skip to content

Hridya2001/Sql-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQL Practice Lab

This repository contains a curated set of SQL practice scripts to strengthen your understanding of relational databases and query writing. It includes schema definitions, data manipulation operations, and analytical queries using SQL concepts such as SELECT, JOIN, GROUP BY, CASE, and more.


Folder Structure

  • Schema/ — Table creation and schema modification scripts
  • Data/ — Insert, update, and delete operations
  • Queries/ — Practice queries including joins, aggregations, subqueries, and filtering

Topics Covered

  • Database schema design and normalization
  • Data manipulation (INSERT, UPDATE, DELETE)
  • Querying with SELECT
  • Joining multiple tables
  • Aggregation and grouping
  • Subqueries and nested queries
  • Conditional logic using CASE
  • Sorting, filtering, and limiting results

Getting Started

To run these scripts locally:

  1. Use any MySQL-compatible environment (MySQL CLI, Workbench, or DBeaver).
  2. Run the files in the following order:


Visual Output : Terminal Screenshots

Terminal 1

Terminal 2

Terminal 3

Terminal 4

Author

Hridya Umesh
GitHub Profile


About

A hands-on lab for practicing SQL queries, database design, and data analysis.

Topics

Resources

Stars

Watchers

Forks

Languages