Re: Except does not work as in the documentation

2025-02-25 Thread Greg Sabino Mullane
Your BETWEEN statement has X AND Y inside of parenthesis. No parenthesis are needed, the format is: BETWEEN X AND Y not BETWEEN (X AND Y) See: https://www.postgresql.org/docs/current/functions-comparison.html Postgres is complaining about the EXCEPT because it is waiting for the next item in

Except does not work as in the documentation

2025-02-25 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/17/queries-union.html Description: The current documentation does not give the right syntax for using the EXCEPT in a query. This is the error when I ran the below: select appt_id from wayfin