Loading topic
SELECT ... FROM ... WHERE queries. You should also know common column types, such as numbers, text, and dates, and understand the purpose of GROUP BY and aggregate functions such as COUNT and SUM.2 min readSELECT ... FROM ... WHERE queries, recognize common column types, and use GROUP BY, COUNT, and SUM.2 min readSELECT ... FROM ... WHERE queries, common column types, and the difference between a row and a group. This chapter uses those ideas to build one value for each row.2 min readSELECT ... FROM ... WHERE queries, recognize common numeric and text types, and use GROUP BY with aggregates such as COUNT and SUM.2 min readSELECT ... FROM ... WHERE queries, common column types, and aggregate functions such as COUNT and SUM. This chapter focuses on two scalar functions that make expressions safer when values are missing or exceptional.2 min readSELECT ... FROM ... WHERE queries and understand common data types. It also assumes you have used GROUP BY and aggregate functions such as COUNT and SUM.2 min readSELECT, FROM, and WHERE queries, along with GROUP BY and aggregate functions such as COUNT and SUM. This chapter uses standard SQL rules. Some database systems extend those rules, so test portable queries against your target database.2 min readSELECT ... FROM ... WHERE queries and understand common data types. You should also know the purpose of GROUP BY and aggregate functions such as COUNT and SUM.2 min readSELECT, WHERE, GROUP BY, and aggregate functions such as COUNT and SUM. This chapter focuses on the simple form of CASE, which compares one expression with several possible values.2 min readSELECT, WHERE, GROUP BY, and aggregate functions. This chapter focuses on how SQL chooses a CASE result and how that choice affects data types and missing values.2 min readSELECT, WHERE, GROUP BY, COUNT, and SUM queries. This chapter focuses on using CASE to classify rows, control sort order, and filter computed categories.2 min readSELECT, WHERE, GROUP BY, COUNT, and SUM. Conditional aggregation combines an aggregate function with CASE so that one grouped query can calculate several filtered totals.2 min readSELECT, WHERE, and GROUP BY queries, recognize common numeric, text, and date types, and use COUNT and SUM.2 min read