From 6897d95506c118064f5fda7ea6f56957eaefb42f Mon Sep 17 00:00:00 2001 From: Fabian Pijcke Date: Mon, 16 Nov 2020 22:08:18 +0100 Subject: [PATCH] Add erratum I did not know how to present the change. I think repeating the whole query is cumbersome. Putting the missing part in bold separates the query as three code blocks, but I feel like its the best option. Feel free to adapt of course. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e7d5aa5..07f4c48 100644 --- a/README.md +++ b/README.md @@ -173,5 +173,5 @@ has been passionate about computer science since he was a 13-year-old, his first #### Errata * Page 82 (Dropping databases, first paragraph): **to drop a table** _should be_ **to drop a database** * Page 581 (Section 5, heading): **The PostegreSQL System** _should be_ **The PostgreSQL System** - +* Page 151 (The ROW_NUMBER function, first query): The query _should be_ `select category, count(*) over w`**`, row_number() over w`**` from posts WINDOW w as (partition by category) order by category`**;