SQL I: DDL, DML and Queries Class 12 Notes PDF 2026-27 | Computer Science Chapter 12 Skip to content
Smart Notes for Every Exam · instant PDF download after payment +91 92520 37565
Home › Class 12 Computer Science › Chapter 12
Class 12 · Computer Science · Chapter 12

SQL I: DDL, DML and Queries: complete notes

Neat, exam-ready notebook-style notes for SQL I: DDL, DML and Queries, 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 I: DDL, DML and Queries: CBSE previous year questions with solutions →

Free preview: SQL I: DDL, DML and Queries 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.

SQL basics DDL ★★★CREATE, ALTER, DROP; constraints DML ★★★INSERT, UPDATE, DELETE, SELECT WHERE conditions ★★★IN, BETWEEN, LIKE, IS NULL ORDER BY, DISTINCT, alias ★★sorting, unique values
Chapter map from the notes

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

  1. 12.1 SQL, data types and constraints ★★★
  2. 12.2 DML: INSERT, SELECT ★★★
  3. 12.3 UPDATE and DELETE ★★★
  4. Multiple choice: 20 MCQs

Last-night summary

  • ALTER TABLE … ADD col type / DROP COLUMN col / MODIFY col type / ADD PRIMARY KEY (col) / DROP PRIMARY KEY. DROP TABLE vs DELETE FROM.
  • SELECT cols FROM t WHERE cond ORDER BY col [DESC]; DISTINCT; AS alias; =, <>, AND/OR/NOT, IN (…), BETWEEN a AND b (inclusive), LIKE ('%' many, '_' one), IS [NOT] NULL.
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
← Database Concepts and the Relational Model SQL II: Aggregates, GROUP BY, Joins →

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