CBSE 2026 results are out, Mukul scored a perfect 100/100 in Computer ScienceSee all toppers →

KwickClips Databases and SQL

Databases and SQL: 71 short revision clips

One idea per clip, with the answer written out underneath. Each clip links back to the full Databases and SQL lesson it came from.

Marks shown as data and their average shown as information.Are marks data or information?39 secThree files storing the same student city, two of them out of date.What is inconsistency?40 secList of DBMS jobs: store once, control access, many users, backup.What does DBMS stand for?45 secTwo real databases: school records and railway reservations.Where does your school store marks?39 secTable with relation, tuple and attribute labelled.What is another word for a row?43 secMarks column with valid value 87 and invalid values 150 and -4.What is the domain of marks out of 100?40 secTable with columns counted as degree and rows counted as cardinality.A table has 3 columns and 4 rows. What is the cardinality?44 secThree data models drawn as a tree, a web and a table.Which model allows many parents?42 secTwo identical names distinguished by admission numbers.Why can a name not be a key?39 secCandidate key table marking AdmNo and Email as unique and Name as not.What is a candidate key?38 secAdmNo marked primary and Email marked alternate key.What is an alternate key?37 secFEES table pointing to STUDENT through the admission number.What is a foreign key?41 secSQL definition with example database systems.What is a query?41 secTable of DDL, DML and DQL with one command each.Is SELECT DDL or DQL?43 secMySQL prompt showing the -> continuation sign before a semicolon.Why does MySQL show ->?40 secTable of five SQL data types with an example value each.Which type stores 85.5?42 secSQL code: CREATE DATABASE school, then USE school, then SHOW TABLES.Why the error 'No database selected'?39 secCREATE TABLE code with four constraints marked.How do you stop two students sharing a roll number?43 secALTER TABLE statements adding, modifying and dropping a column.Do you have to recreate a table to add a column?40 secDROP TABLE and DROP DATABASE statements with a warning.Can a DROP be undone?37 secTwo INSERT statements, one with column names and one without.What does a skipped column get?37 secUPDATE statement with a WHERE clause highlighted.Why did all marks become 80?38 secDELETE statement with WHERE and the resulting table.How do you delete one student?36 secSELECT statement with WHERE showing the updated row.How do you confirm an UPDATE?35 secSELECT name, marks FROM student with its output.How do you see all columns?41 secWHERE marks > 70 query with output missing the NULL row.Which operator means not equal?39 secTable of AND, OR and NOT with what each requires.Which keeps more rows, AND or OR?41 secSELECT DISTINCT city AS Town query with its output.Where is DISTINCT written?39 secBETWEEN query with the boundary rows included in the output.Is 65 included in BETWEEN 65 AND 88?39 secIN query with a list of cities and its output.What is IN a short form of?36 secLIKE patterns with what each one matches.What does '____' match?41 secQuery using IS NULL returning the row with missing marks.Why does marks = NULL return no rows?42 secTwo ORDER BY queries, one ascending and one descending.What is the default order?39 secORDER BY sec, marks DESC query with grouped sorted output.Why sort by two columns?42 secQuery with WHERE then ORDER BY and its sorted output.Why the error when ORDER BY comes first?39 secSQL math functions with their outputs 8, 2 and 1300.What is MOD(17, 5)?40 secText function table with MID, LEFT, INSTR and LENGTH examples.Does MID count from 0?43 secDate functions with outputs Saturday, August and 2026.What is the difference between MONTH and MONTHNAME?42 secQuery using UCASE in SELECT and MONTH in WHERE.Can MONTH(dob) be used in WHERE?38 secColumn of marks collapsing into a single total.What does an aggregate function return?39 secQuery with COUNT(*) and COUNT(marks) giving 5 and 4.Which COUNT counts rows?38 secOne query returning SUM, AVG, MAX and MIN together.Can one SELECT use four aggregates?42 secComparison of AVG when a mark is NULL and when it is 0.Does AVG treat NULL as zero?42 secRows grouped by section before counting.What does GROUP BY do first?36 secGROUP BY sec query returning one row per section.How many rows does GROUP BY return?36 secTable comparing WHERE and HAVING on what they filter and when.Where do aggregates belong?36 secGROUP BY city with HAVING COUNT(*) > 1 and its two-row output.How many rows remain after HAVING COUNT(*) > 1?36 secOne repeated big table beside two split tables linked by a common column.Why avoid one big table?42 sec

Want a plan that actually fits your board dates?

Ask Kajal Ma'am directly, 20+ years teaching computer science. Free demo class first, no payment.

Talk to Kajal Ma'am on WhatsApp

Or see the Class 12 Computer Science course →

Studying outside India?

We coach CBSE, IGCSE & international students across the globe, one-to-one, in your local time zone.

Visit International →