SQL Query Projects

20 free SQL Query projects with source code and tutorials.

Screenshot of SQL ETL Pipeline Queries project
SQL QueryJul 18, 2025

SQL ETL Pipeline Queries

Build extraction and transformation queries for data warehouse loading pipelines.

SQLETLData WarehouseTransform
Read more → Source
Screenshot of SQL Security & Injection Prevention project
SQL QueryJul 14, 2025

SQL Security & Injection Prevention

Prevent SQL injection with parameterized queries, input validation, and least privilege.

SQLSecurityInjectionBest Practices
Read more → Source
Screenshot of SQL Cross-Database Compatibility project
SQL QueryJul 10, 2025

SQL Cross-Database Compatibility

Write portable SQL across MySQL, PostgreSQL, and SQL Server with dialect differences.

SQLPortabilityMySQLPostgreSQL
Read more → Source
Screenshot of SQL Query Debugging Techniques project
SQL QueryJul 6, 2025

SQL Query Debugging Techniques

Debug slow queries with profiling, execution plans, and statistics analysis tools.

SQLDebuggingProfilingOptimization
Read more → Source
Screenshot of SQL Constraint & Schema Design project
SQL QueryJul 2, 2025

SQL Constraint & Schema Design

Design robust schemas with CHECK, UNIQUE, FK constraints, and normalization rules.

SQLSchema DesignConstraintsNormalization
Read more → Source
Screenshot of SQL Dynamic Query Building project
SQL QueryJun 28, 2025

SQL Dynamic Query Building

Generate dynamic SQL safely with parameterized queries and prepared statements.

SQLDynamic SQLSecurityPrepared
Read more → Source
Screenshot of SQL Data Aggregation & Reporting project
SQL QueryJun 24, 2025

SQL Data Aggregation & Reporting

Build complex reports with GROUP BY, ROLLUP, CUBE, and GROUPING SETS.

SQLAggregationROLLUPReporting
Read more → Source
Screenshot of SQL Full-Text Search Implementation project
SQL QueryJun 20, 2025

SQL Full-Text Search Implementation

Build search functionality with full-text indexes, relevance ranking, and stemming.

SQLFull-Text SearchIndexingRanking
Read more → Source
Screenshot of SQL Transaction & Isolation Levels project
SQL QueryJun 16, 2025

SQL Transaction & Isolation Levels

Manage ACID transactions with savepoints, isolation levels, and deadlock prevention.

SQLTransactionsACIDIsolation
Read more → Source
Screenshot of SQL Set Operations & Comparisons project
SQL QueryJun 12, 2025

SQL Set Operations & Comparisons

Combine result sets with UNION, INTERSECT, EXCEPT and compare datasets efficiently.

SQLSet OperationsUNIONEXCEPT
Read more → Source
Screenshot of SQL Views & Materialized Views project
SQL QueryJun 8, 2025

SQL Views & Materialized Views

Create views for data abstraction and materialized views for query performance gains.

SQLViewsMaterializedPerformance
Read more → Source
Screenshot of SQL Triggers & Event Automation project
SQL QueryJun 4, 2025

SQL Triggers & Event Automation

Implement BEFORE/AFTER triggers for audit logging, validation, and cascading updates.

SQLTriggersAutomationAudit
Read more → Source
Screenshot of SQL Stored Procedures & Functions project
SQL QueryMay 30, 2025

SQL Stored Procedures & Functions

Create reusable stored procedures with parameters, cursors, and error handling.

SQLStored ProceduresFunctionsPL/SQL
Read more → Source
Screenshot of SQL JSON Data Querying project
SQL QueryMay 26, 2025

SQL JSON Data Querying

Query and manipulate JSON columns with JSON_EXTRACT, JSON_AGG, and path expressions.

SQLJSONNoSQLModern SQL
Read more → Source
Screenshot of SQL Subquery & Correlated Patterns project
SQL QueryMay 22, 2025

SQL Subquery & Correlated Patterns

Master scalar, table, and correlated subqueries for complex data retrieval scenarios.

SQLSubqueriesCorrelatedAdvanced
Read more → Source
Screenshot of SQL Date & Time Query Patterns project
SQL QueryMay 18, 2025

SQL Date & Time Query Patterns

Handle time zones, date arithmetic, calendar tables, and fiscal year calculations.

SQLDate FunctionsTime ZonesCalendar
Read more → Source
Screenshot of SQL Pivot & Unpivot Techniques project
SQL QueryMay 14, 2025

SQL Pivot & Unpivot Techniques

Transform rows to columns and back using PIVOT, UNPIVOT, and conditional aggregation.

SQLPivotAggregationTransform
Read more → Source
Screenshot of SQL Recursive CTEs for Hierarchies project
SQL QueryMay 10, 2025

SQL Recursive CTEs for Hierarchies

Query hierarchical data like org charts and threaded comments using recursive CTEs.

SQLCTERecursiveHierarchies
Read more → Source
Screenshot of SQL Performance Optimization Guide project
SQL QueryMay 6, 2025

SQL Performance Optimization Guide

Optimize queries with EXPLAIN plans, index strategies, and query rewriting techniques.

SQLPerformanceIndexingEXPLAIN
Read more → Source
Screenshot of SQL Window Functions Masterclass project
SQL QueryMay 2, 2025

SQL Window Functions Masterclass

Master ROW_NUMBER, RANK, LAG, LEAD, and running totals with window functions.

SQLWindow FunctionsAnalyticsAdvanced
Read more → Source