Home › Class 12 Skill Subjects › IT 802 › Mind maps

IT 802: mind maps for every unit

One map per unit of the CBSE Database Management Applications handbook (Class XII), with each section as a branch. The maps include the corrections used in the SkillYog question bank. Print any map on one landscape page, or open the text version on your phone.

The text version of each map is open below it. The map itself scrolls sideways.

Unit 1: Database Concepts

Sections 1.1–1.6 of the handbook.

Mind map: Unit 1 Database ConceptsUnit 1DatabaseConceptsSections 1.1–1.6Data: raw facts; information:processedDatabase: related, organiseddataProblems of files:redundancy, inconsistency1.1–1.2 Data anddatabaseDefine, populate, manipulateShare, protect, maintainSelf-describing: metadata incatalogueProgram-data independence1.4 DBMSEnd users, DBAApplication programmers,system analystPros: less redundancy,consistency, securityCons: cost; security andrecovery overheadsDBMS users andtrade-offsE. F. Codd, IBM, 1970Relation, tuple, attribute,domainDegree = columns; cardinality= rowsNULL: unknown, unavailable,not applicable1.5 RelationalmodelSuperkey: unique combinationKey: minimal superkeyCandidate keys → one primarykeyForeign key refers to aprimary keyKeysDomain, key, NOT NULLEntity integrity: primary keynot NULLReferential: foreign keymatches or is NULLConstraintsCREATE DATABASE; USE; SHOWTABLES; DESCCHAR, VARCHAR, DATE, INTEGER,DECIMAL(m,d)PRIMARY KEY, FOREIGN KEY,DEFAULTON DELETE CASCADE / SET NULL/ RESTRICTALTER TABLE ADD / DROP; DROPTABLESQL: DDLINSERT INTO ... VALUESUPDATE ... SET ... WHEREDELETE FROM ... WHERENo WHERE = every row changesSQL: DMLSELECT ... FROM ... WHEREDISTINCT; IS NULL (never =NULL)LIKE: % many, _ one characterORDER BY ASC/DESC; joins; IN(nested)SQL: queriesCOUNT(*) vs COUNT(col) skipsNULLSUM, AVG, MAX, MINGROUP BYHAVING filters groups; WHEREfilters rowsSQL: aggregatesMySQL 8.0.16+ enforces CHECKORDER is reserved: use ORDERSBook notes
Text version of this map
  • 1.1–1.2 Data and database
    • Data: raw facts; information: processed
    • Database: related, organised data
    • Problems of files: redundancy, inconsistency
  • 1.4 DBMS
    • Define, populate, manipulate
    • Share, protect, maintain
    • Self-describing: metadata in catalogue
    • Program-data independence
  • DBMS users and trade-offs
    • End users, DBA
    • Application programmers, system analyst
    • Pros: less redundancy, consistency, security
    • Cons: cost; security and recovery overheads
  • 1.5 Relational model
    • E. F. Codd, IBM, 1970
    • Relation, tuple, attribute, domain
    • Degree = columns; cardinality = rows
    • NULL: unknown, unavailable, not applicable
  • Keys
    • Superkey: unique combination
    • Key: minimal superkey
    • Candidate keys → one primary key
    • Foreign key refers to a primary key
  • Constraints
    • Domain, key, NOT NULL
    • Entity integrity: primary key not NULL
    • Referential: foreign key matches or is NULL
  • SQL: DDL
    • CREATE DATABASE; USE; SHOW TABLES; DESC
    • CHAR, VARCHAR, DATE, INTEGER, DECIMAL(m,d)
    • PRIMARY KEY, FOREIGN KEY, DEFAULT
    • ON DELETE CASCADE / SET NULL / RESTRICT
    • ALTER TABLE ADD / DROP; DROP TABLE
  • SQL: DML
    • INSERT INTO ... VALUES
    • UPDATE ... SET ... WHERE
    • DELETE FROM ... WHERE
    • No WHERE = every row changes
  • SQL: queries
    • SELECT ... FROM ... WHERE
    • DISTINCT; IS NULL (never = NULL)
    • LIKE: % many, _ one character
    • ORDER BY ASC/DESC; joins; IN (nested)
  • SQL: aggregates
    • COUNT(*) vs COUNT(col) skips NULL
    • SUM, AVG, MAX, MIN
    • GROUP BY
    • HAVING filters groups; WHERE filters rows
  • Book notes
    • MySQL 8.0.16+ enforces CHECK
    • ORDER is reserved: use ORDERS