Loading topic
Intermediate · Mid: 16 chapters · 26 min read. States assumed prerequisites
Start readingSELECT query with a WHERE clause. You should also understand that a table contains rows and columns, and that a primary key identifies a row. A foreign key connects a column in one table to a key in another table.SELECT ... WHERE queries and understand tables, rows, columns, primary keys, and foreign keys. An INSERT statement adds one or more new rows to a table.SELECT queries, tables, columns, data types, and primary and foreign keys. This chapter focuses on two ways an INSERT can represent missing information: a column default and the special value NULL.SELECT queries work. This chapter uses standard SQL syntax. Small differences exist between database systems.SELECT queries, WHERE clauses, tables, columns, primary keys, and foreign keys. INSERT ... SELECT uses the rows returned by a query as the new rows for another table. It is useful for archiving, importing, and transforming existing data.SELECT queries, tables, rows, columns, and WHERE clauses. This chapter uses the orders table:WHERE, and that orders contains numeric columns such as total and text columns such as status. In this chapter, you will use expressions in UPDATE statements to calculate new values from each row's current values.SELECT with WHERE, and that the example database has customers and orders tables. The tables use primary keys, and each order refers to a customer through customer_id.SELECT queries with WHERE, tables, rows, columns, primary keys, and foreign keys. This chapter focuses on a safety habit: preview the rows before changing them.SELECT with WHERE, and that you understand tables, rows, primary keys, and foreign keys. A transaction groups several database operations into one unit. You can keep all of the changes with COMMIT or undo them with ROLLBACK.SELECT queries with WHERE, understand tables, rows, and columns, and know the basic purpose of primary and foreign keys.SELECT queries with WHERE, tables, rows, columns, primary keys, and foreign keys. This chapter focuses on what happens when you delete a row that other rows reference.SELECT queries with WHERE and JOIN, understand primary and foreign keys, and know the basic forms of UPDATE, DELETE, and transactions.SELECT queries with WHERE, understand tables and rows, and know that a primary key identifies a row. You should also understand that a foreign key connects a child table to a parent table.SELECT, WHERE, primary keys, and the difference between inserting, updating, and deleting rows. This chapter focuses on reading the rows affected by a data-change statement.SELECT statements with WHERE, understand tables and keys, and know that a UNIQUE constraint prevents duplicate values.The learning path is unavailable right now
We could not load the prerequisites for this topic. The tutorials on this page are not affected. Reload in a little while to try again.