Welcome to the SQL Fundamentals repository! This project serves as a practical, hands-on guide covering basic to intermediate SQL querying techniques.
As shown in image_d6901a.png, this repository contains the following core files:
saas_sales_data.csv: The primary dataset containing SaaS sales records used to execute and test the queries.BASIC.sql&BASIC_test.sql: Scripts covering foundational SQL commands (e.g.,SELECT,WHERE,GROUP BY,ORDER BY).join.sql&join_test.sql: Queries demonstrating how to combine relational data across multiple tables using variousJOINoperations.WIN_FUNCTIONS.sql: Intermediate-level scripts focusing on SQL Window Functions for advanced analytics and aggregations.
- Clone the repository: Download these files to your local machine.
- Set up the database: Import the
saas_sales_data.csvfile into your preferred SQL database management system (e.g., MySQL, PostgreSQL, or SQLite). - Run the scripts: Execute the provided
.sqlfiles against the imported dataset to explore how the queries function.
- Data extraction, filtering, and manipulation.
- Relational database management and table joining.
- Advanced analytical querying utilizing Window Functions.