The code given to create the table does not include a column for the schools but the insert into snippet does make it un-executable unless the column is added or the schools removed. Following the 1st edition of the book so not sure if this has already been seen to.
the column tab on the left shows the missing school column
ERROR: column "school" of relation "teachers" does not exist
Windows 10
yes, followed download instructions
using PostgreSQL 16.4 and pgAdmin 8.10
Yes all code was copied from github
Missing school column in order to insert data
1st edition Chapter 1, page 8 and Chapter_01.sql
The code given to create the table does not include a column for the schools but the insert into snippet does make it un-executable unless the column is added or the schools removed. Following the 1st edition of the book so not sure if this has already been seen to.
the column tab on the left shows the missing school column
ERROR: column "school" of relation "teachers" does not exist