Activity 01
Pair Programming: CREATE TABLE Challenge
Pairs design a 'Student' table with columns for ID (PRIMARY KEY), Name, Age, and Marks (NOT NULL). They write the SQL CREATE query, execute it in SQLite, and verify structure using DESCRIBE. Switch roles to critique partner's query for errors.
Explain the purpose of DDL commands in database management.
Facilitation TipDuring Pair Programming, circulate and ask each pair to explain their CREATE TABLE statement to you before running it, ensuring they understand each clause.
What to look forPresent students with a scenario: 'Create a table named 'Students' with columns 'StudentID' (integer, primary key), 'FirstName' (text, not null), and 'Email' (text, unique).' Ask them to write the SQL CREATE TABLE statement. Then, ask: 'What command would you use to delete this table?'