Loading topic
CREATE TABLE and SELECT statements. It also assumes you know that a primary key identifies a row and that a foreign key stores a key from another table.2 min readINSERT and SELECT statements. This chapter focuses on constraints: rules that a database checks before accepting a change.2 min readSELECT and JOIN queries are. This chapter uses those ideas to decide where each piece of data should live.2 min readSELECT queries. An index is an extra data structure that helps a database find rows faster. It works like the index at the back of a book: the database can locate a value without reading every row.2 min read