School Revise · Class 11 Information Technology · Chapter 4
Code 802, Class 11. A relational database keeps data in tables and SQL talks to it. Here we meet the relational model and write queries.
|
|
An RDBMS (Relational Database Management System) stores data in tables. SQL is the language used to create, add to and question the data.
A relation is a table, a tuple is a row and an attribute is a column. A primary key uniquely identifies each row, and a foreign key links tables.
SELECT reads data, WHERE filters rows and ORDER BY sorts. Aggregate functions COUNT, SUM, AVG, MAX and MIN summarise data.
|
SELECT name FROM STUDENT WHERE marks > 80; (shows names of students who scored above 80) |
CREATE TABLE makes a table, INSERT adds a row, UPDATE changes values and DELETE removes rows.
Explore the idea by tapping. The interactive opens right here in the lesson.
Type each one into the code lab above, then open the card to see the worked solution and its output.
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
SOLUTION
OUTPUT
tuple.
SELECT.
WHERE.
A foreign key.
|
An RDBMS stores data in tables and SQL talks to it. A relation is a table, a tuple a row and an attribute a column; a primary key identifies each row and a foreign key links tables. SELECT reads data, WHERE filters, ORDER BY sorts, and COUNT, SUM, AVG, MAX and MIN summarise. CREATE, INSERT, UPDATE and DELETE build and change the data. |
| Open the Virtual Lab |
These free Class 11 Information Technology (Code 802) notes explain RDBMS and the relational model, tuples and attributes, primary and foreign keys, and SQL SELECT WHERE ORDER BY and aggregate functions with worked examples and practice, for CBSE students across India and the Gulf including the UAE, Saudi Arabia, Qatar, Oman, Kuwait and Bahrain.
© 2026 School Revise. All rights reserved. Original content aligned to the CBSE and NCERT Class 11 Information Technology syllabus. Unauthorised copying is not permitted.