Loading topic
SELECT, INSERT, UPDATE, and DELETE statements. You should also understand rows, columns, data types, and NULL.2 min readSELECT, INSERT, UPDATE, and DELETE, can create tables, and understand rows, columns, data types, and NULL.2 min readSELECT, INSERT, UPDATE, and DELETE. You should also understand rows, columns, data types, and NULL.2 min readINSERT, UPDATE, and DELETE statements. A key is a column, or group of columns, that identifies a row. The main design choice is whether that key should describe a real business value or be an independent gen2 min readCREATE TABLE, INSERT, and data types. It focuses on how a database creates values for surrogate primary keys.2 min readSELECT, INSERT, UPDATE, and DELETE, can create tables, and understand rows, columns, and NULL.2 min readSELECT, INSERT, UPDATE, and DELETE, can create tables, and understand rows, columns, data types, and NULL. This chapter uses PostgreSQL-style SQL.2 min readSELECT, INSERT, UPDATE, and DELETE statements. The examples use PostgreSQL-style SQL.1 min readCREATE TABLE, INSERT, UPDATE, DELETE, and NULL. This chapter focuses on the actions a foreign key takes when its referenced parent row changes.1 min readSELECT, INSERT, UPDATE, and DELETE, can create tables, and understand rows, columns, and NULL. This chapter uses PostgreSQL-style SQL.1 min readSELECT, INSERT, UPDATE, and DELETE statements. This chapter shows how to represent a many-to-many relationship while keeping invalid combinations out of the database.1 min readSELECT, INSERT, UPDATE, and DELETE, can create tables, and understand rows, columns, and NULL. It also assumes that customers has a primary key named customer_id and that orders has a foreign key with the same name.2 min readSELECT, INSERT, UPDATE, and DELETE. You should also understand rows, columns, data types, and NULL.1 min readCREATE TABLE, foreign keys, NULL, and basic SELECT, INSERT, and DELETE. A self-referencing foreign key is a foreign key that points back to the same table. It models a hierarchy, such as employees and managers, folders and parent folders, or categories and parent categories2 min readCREATE TABLE, INSERT, UPDATE, DELETE, column types, and NULL. This chapter shows how to change key constraints after tables already contain data. Examples use PostgreSQL syntax.1 min readBEGIN, COMMIT, and ROLLBACK. The examples use PostgreSQL syntax.2 min readSELECT, INSERT, UPDATE, and DELETE, and can create tables with basic data types. The key concepts are portable SQL, but generated values, referential actions, and constraint timing vary by database system.2 min read