CourseGenix
Explore
Toggle theme
Sign In
SQL
7 Units
30 Lessons
Unit 1
Basics
Introduction to SQL Syntax and Data Types
Executing Simple SELECT Queries
Inserting, Updating, and Deleting Data Basics
Real-World Project: Building a Simple Inventory Database
Unit 2
Advanced Query Techniques
Using Aggregations and Grouping Functions
Advanced String and Date Manipulation Functions
Working with Common Table Expressions (CTEs)
Implementing Window Functions for Data Analysis
Real-World Project: Analyzing Sales Data with Advanced Queries
Unit 3
Joins and Subqueries
Understanding Inner and Outer Joins
Using Subqueries in SELECT Statements
Nesting Subqueries in WHERE and FROM Clauses
Exploring Self-Joins and Cross Joins
Real-World Project: Merging Data from Multiple Tables
Unit 4
Database Design and Normalization
Fundamentals of Database Design Principles
Applying First, Second, and Third Normal Forms
Real-World Project: Designing and Normalizing a Relational Database
Advanced Normalization Techniques like BCNF
Unit 5
Transactions and Concurrency Control
Basics of SQL Transactions and ACID Properties
Implementing Commit, Rollback, and Savepoints
Concurrency Control with Locking Mechanisms
Real-World Project: Managing Transactions in a Banking System
Unit 6
Indexing and Performance Optimization
Introduction to SQL Indexing and Its Types
Real-World Project: Optimizing a Large-Scale Database
Query Optimization Techniques and Execution Plans
Creating and Managing Indexes for Query Speed
Unit 7
Advanced Topics in SQL Integration
Integrating SQL with External Data Sources
Real-World Project: Building an Integrated SQL Application
Using Triggers and Stored Procedures for Automation
Views and Materialized Views in Complex Systems
Unit 2
•
Chapter 1
Using Aggregations and Grouping Functions
Summary
No summary available for this chapter.
Concept Check
0/5
What clause is required for an aggregate function with a non-aggregate column in SQL?
WHERE clause
HAVING clause
GROUP BY clause
GROUP BY clause
Where does the HAVING clause appear in a SQL query with GROUP BY?
After GROUP BY
After GROUP BY
In SELECT statement
Before WHERE
What happens if you omit GROUP BY with COUNT and a column?
Data aggregates automatically
Error occurs
Query succeeds
Error occurs
How do you filter groups based on an aggregate in SQL?
Using HAVING
Using HAVING
Using ORDER BY
Using WHERE
In the customers table, how to count customers per country and city?
GROUP BY country and city
Use WHERE clause
GROUP BY country and city
GROUP BY country only
5 questions remaining
Next
Advanced String and Date Manipulation Functions