week 18 cst363 week 2
This week we reviewed sql functions and referential integrity.
functions are scalar or aggregates, like CONCAT or GROUP BY.
referential integrity refers to different kinds of constraints we can place on tables.
primary keys must be unique and not null
unique keys can be null
foreign keys relate tables by column references
we can place other constraints on our data like enforcing NOT NULL and enforcing values within certain ranges.
Comments
Post a Comment