Back to course overview
SQL Fundamentals
Changing Data
Add, change and remove rows safely, define tables with types and constraints, and use views and transactions.
3 lessons ยท 1h 38m
- 30mINSERT, UPDATE, DELETEReading
Add, change and remove rows with INSERT, UPDATE and DELETE, using WHERE and previews to stay safe.
- 33mCREATE TABLE and constraintsReading
Define a table with column types and constraints such as PRIMARY KEY, NOT NULL, UNIQUE, DEFAULT and CHECK.
- 35mViews and transactionsReading
Group changes into an all-or-nothing transaction with BEGIN and COMMIT, and save a reusable query as a view.