Skip to content

DanilaBezhin/sql_lesson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

SQL Join Queries Examples

This repository contains a collection of simple and clear SQL query examples demonstrating how to:

  • Join multiple tables using INNER JOIN, LEFT JOIN, RIGHT JOIN, and CROSS JOIN
  • Filter data using WHERE, LIKE, and IS NULL
  • Use GROUP BY and aggregation functions like COUNT()
  • Sort query results with ORDER BY
  • Generate random dates using RAND(), FLOOR(), and DATE_ADD()

πŸ“ Structure

Each file contains examples with clear explanations and result tables, covering a specific SQL topic.

πŸ“˜ Topics Covered

  • Basic and advanced JOIN operations
  • Filtering and sorting data
  • Working with NULL values
  • Generating random dates in SQL
  • Combining data from multiple related tables

πŸ“¦ How to Use

You can open any file to read examples and copy-paste the SQL queries into your SQL environment to practice or test.

🧠 Good For

  • Beginners learning SQL joins and grouped queries
  • Students preparing for exams
  • Instructors looking for teaching materials

Feel free to explore, modify, and learn! πŸš€

About

Description and examples of working with SQL queries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published