Eine Einführung in

SQL

Change the default schema/database.

PostgreSQL
In many engines several independant databases may exist. Often each user has his or her own database. This allows different users to use the same names for tables.


Specific to PostgreSQL
The \ commands are not part of SQL, they may be entered in the psql interface to postgres. The given command connects to database "template1" as user "scott".