This is the classical Scott database (EMP, DEPT, BONUS, SALGRADE) for use in PostgreSQL.
See docker-pg-scott and docker-pg-scott-nd for Docker images that include a PostgreSQL server with data from pg-scott.sql and pg-scott-nd.sql respectively, that automatically start the
psql shell to play with the data interactively. (Not yet - Work in progress...)
Three relations are available:
Two dates were changed to be consistent with other sources, like Oracle Példatár by Kende Mária and Nagy István:
In addition to changes in pg-scott.sql, there was one change:
To play with examples where one employer has no department.
Converted to the simplest PostgreSQL data types (
For any bug reports or feature requests please post an issue on GitHub.
Rafał Pocztarski - https://github.com/rsp
MIT License (Expat). See LICENSE.md for details.