SQL II: Aggregates, GROUP BY, Joins Class 12 Notes PDF 2026-27 | Computer Science Chapter 13 Skip to content
Smart Notes for Every Exam · instant PDF download after payment +91 92520 37565
Home › Class 12 Computer Science › Chapter 13
Class 12 · Computer Science · Chapter 13

SQL II: Aggregates, GROUP BY, Joins: complete notes

Neat, exam-ready notebook-style notes for SQL II: Aggregates, GROUP BY, Joins, following your NCERT book. This chapter is part of the complete Complete Computer Science Notes for Class 12 (CBSE 083, 2026-27).

Cover of Complete Computer Science Notes for Class 12 (CBSE 083, 2026-27)
Get all 14 chapters of Class 12 Computer Science
₹199₹24920% off
Free sample

Board questions: SQL II: Aggregates, GROUP BY, Joins: CBSE previous year questions with solutions →

Free preview: SQL II: Aggregates, GROUP BY, Joins notes

A quick look at the chapter from our Class 12 Computer Science notes. The full chapter notes have the detailed explanations, diagrams and practice questions with answers.

Summaries and joins Aggregate functions ★★★COUNT(*) vs COUNT(col), NULLs GROUP BY, HAVING ★★★WHERE vs HAVING Cartesian product ★★rows multiply, columns add Equi / natural join ★★★T1.col = T2.col; NATURAL JOIN
Chapter map from the notes

Topics in this chapter ★★★ very important · ★★ important · ★ asked sometimes

  1. 13.1 Aggregate functions ★★★
  2. 13.2 GROUP BY ★★★
  3. 13.3 HAVING ★★★
  4. 13.4 Cartesian product and joins ★★★
  5. Multiple choice: 20 MCQs

Last-night summary

  • GROUP BY col → one row per group; HAVING filters groups (after grouping) vs WHERE filters rows (before). Order: SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY.
  • Cartesian product: rows r₁×r₂, columns c₁+c₂. Equi-join: WHERE T1.c = T2.c (column twice, qualify names). Natural join: NATURAL JOIN, same-named column once.
See real pages (free sample)

What you get in the pack

All chapters in this pack

  1. Python Revision Tour
  2. Functions
  3. Exception Handling
  4. File Handling: Text Files
  5. Binary Files (pickle)
  6. CSV Files
  7. Data Structure: Stack
  8. Networks I: Data Communication and Media
  9. Networks II: Devices, Topologies, Types
  10. Network Protocols and Web Services
  11. Database Concepts and the Relational Model
  12. SQL I: DDL, DML and Queries
  13. SQL II: Aggregates, GROUP BY, Joins
  14. Interface of Python with MySQL
← SQL I: DDL, DML and Queries Interface of Python with MySQL →

Prices shown in Indian rupees. Show prices in: ₹ INR · US$ USD