Loading topic
SELECT queries with WHERE and ORDER BY, and that you know how INNER JOIN and LEFT JOIN use an ON condition. You should also know what primary keys and foreign keys are. Nothing here needs more than that.7 min readSELECT, WHERE, and ORDER BY. It also assumes you know INNER JOIN and LEFT JOIN with an ON condition, primary and foreign keys, and how NULL behaves in comparisons. You have already seen why a table that appears twice in a query needs aliases. Here you7 min readINNER JOIN with an ON condition, you know what a primary key and a foreign key are, and you understand that NULL never equals anything. Earlier chapters covered aliases and the idea of a self join. Here you apply them to the most common real case: a table 6 min readSELECT, WHERE, and ORDER BY, and that you can use INNER JOIN and LEFT JOIN with an ON condition. It also assumes you know what primary and foreign keys are. The earlier chapters in this tutorial covered self joins. Here you meet a different kind of join6 min readINNER JOIN and LEFT JOIN with an ON condition, and that you know a cross join returns the Cartesian product of two tables: every row of one paired with every row of the other. Here the focus is on how you write that join, why the two common spellings are not 6 min readINNER JOIN and LEFT JOIN, can write basic SELECT, WHERE, and ORDER BY queries, and have seen that CROSS JOIN returns the Cartesian product of two tables. Here you will use that product on purpose. You will generate product variants, extend the idea to three 5 min readINNER JOIN and LEFT JOIN with an ON condition, know primary and foreign keys, and understand how NULL behaves in comparisons. It also assumes you can use GROUP BY with COUNT and SUM. You have just seen that CROSS JOIN pairs every row of one input wi7 min reademployees table and the sizes, colors, stores, products, and sales tables from earlier chapters. Self joi6 min reademployees table from earlier chapters. Here is that table:6 min read