Why don't some commands require a semicolon in sql

Like the display command

image

Technically the display command is not SQL. So the strict answer to your question is: all SQL commands require semicolon at the end.
But I understand your point. The slash commands are command line commands for Postgres. So they follow their own set of rules.

1 Like