SLOs
Working with Tables & Set Operations
Week 07: April 27 β May 1ΒΆ
At the end of this week, you should be able to:
Choose appropriate column data types (text, numeric, date/time, boolean, etc.) when designing a table.
Create a new table using
CREATE TABLE.Define column constraints β
NOT NULL,UNIQUE,DEFAULT, andCHECKβ to enforce data integrity.Define and use foreign keys to model relationships between tables.
Create an index to improve query performance.
Insert new rows into a table using
INSERT.Delete rows from a table using
DELETE.Update existing rows in a table using
UPDATE.Modify an existing tableβs structure using
ALTER TABLE.Grant and revoke user permissions on database objects using
GRANTandREVOKE.Combine result sets from multiple queries using
UNION.Return only rows common to two result sets using
INTERSECT.Subtract one result set from another using
EXCEPT.