🌐
EnterpriseDB
enterprisedb.com › docs › epas › latest › fundamentals › sql_fundamentals › 03_examples_used
EDB Docs - EDB Postgres Advanced Server v18 - Sample database description
You can use PSQL (a terminal-based interface for PostgreSQL) commands to modify the search path. The sample database represents employees in an organization.
🌐
GitHub
github.com › h8 › employees-database
GitHub - h8/employees-database: A sample PostgreSQL database to be used in test application
... Dumps doesn't contain information about schema or user name, so create any database with any owner (user) you want, and insert dump into it: bzip2 -d employees_data.sql.bz2 psql -U employees_user employees_database < employees_data.sql
Starred by 30 users
Forked by 21 users
🌐
EnterpriseDB
enterprisedb.com › docs › epas › latest › fundamentals › sql_fundamentals › 02_sql_tutorial › 01_sample_database › 02_sample_database_description
EDB Docs - EDB Postgres Advanced Server v18 - Overview of the sample database
CHAR2(9); v_mgr NUMBER(4); v_hiredate DATE; v_sal NUMBER(7,2); v_comm NUMBER(7,2); v_deptno NUMBER(2); BEGIN v_empno := new_empno; INSERT INTO emp VALUES (v_empno, p_ename, 'CLERK', 7782, TRUNC(SYSDATE), 950.00, NULL, p_deptno); SELECT empno, ename, job, mgr, hiredate, sal, comm, deptno INTO v_empno, v_ename, v_job, v_mgr, v_hiredate, v_sal, v_comm, v_deptno FROM emp WHERE empno = v_empno; DBMS_OUTPUT.PUT_LINE('Department : ' || v_deptno); DBMS_OUTPUT.PUT_LINE('Employee No: ' || v_empno); DBMS_OUTPUT.PUT_LINE('Name : ' || v_ename); DBMS_OUTPUT.PUT_LINE('Job : ' || v_job); DBMS_OUTPUT.PUT_LINE(
🌐
GitHub
github.com › vrajmohan › pgsql-sample-data › blob › master › employee › employees.sql
pgsql-sample-data/employee/employees.sql at master · vrajmohan/pgsql-sample-data
-- Sample employee database for PostgreSQL · -- See changelog table for details · -- Created from MySQL Employee Sample Database (http://dev.mysql.com/doc/employee/en/index.html) -- Created by Vraj Mohan · -- DISCLAIMER · -- To the best of our knowledge, this data is fabricated, and ·
Author   vrajmohan
🌐
PostgreSQL Wiki
wiki.postgresql.org › wiki › Sample_Databases
Sample Databases - PostgreSQL wiki
AdventureWorks 2014 for Postgres - Scripts to set up the OLTP part of the go-to database used in training classes and for sample apps on the Microsoft stack. The result is 68 tables containing HR, sales, product, and purchasing data organized across 5 schemas. It represents a fictitious bicycle parts wholesaler with a hierarchy of nearly 300 employees, 500 products, 20000 customers, and 31000 sales each having an average of 4 line items.
🌐
SQL Tutorial
sqltutorial.org › home › sql sample database
SQL Sample Database
April 6, 2020 - The following script creates the HR sample database structure in PostgreSQL.
🌐
GitHub
github.com › neondatabase › postgres-sample-dbs
GitHub - neondatabase/postgres-sample-dbs: A collection of sample Postgres databases for learning, testing, and development. · GitHub
Designing the relational schema was undertaken by Giuseppe Maxia while Patrick Crews was responsible for transforming the data into a format compatible with MySQL. Their work can be accessed here: https://github.com/datacharmer/test_db. Subsequently, this information was adapted to a format suitable for PostgreSQL: https://github.com/h8/employees-database.
Starred by 233 users
Forked by 41 users
Languages   PLpgSQL 99.8% | Shell 0.2%
🌐
Wikiversity
en.wikiversity.org › wiki › Database_Examples › Northwind › PostgreSQL
Database Examples/Northwind/PostgreSQL - Wikiversity
TAMP, ShipperID INTEGER, FOREIGN KEY (EmployeeID) REFERENCES Employees (EmployeeID), FOREIGN KEY (CustomerID) REFERENCES Customers (CustomerID), FOREIGN KEY (ShipperID) REFERENCES Shippers (ShipperID) ); CREATE TABLE OrderDetails( OrderDetailID INTEGER PRIMARY KEY GENERATED BY DEFAULT AS IDENTITY, OrderID INTEGER, ProductID INTEGER, Quantity INTEGER, FOREIGN KEY (OrderID) REFERENCES Orders (OrderID), FOREIGN KEY (ProductID) REFERENCES Products (ProductID) ); INSERT INTO Categories VALUES(1,'Beverages','Soft drinks, coffees, teas, beers, and ales'); INSERT INTO Categories VALUES(2,'Condiments',
Find elsewhere
🌐
GitHub
github.com › bytebase › employee-sample-database
GitHub - bytebase/employee-sample-database: Employee Sample Database for MySQL, Postgres, SQLite · GitHub
Employee Sample Database for MySQL, Postgres, SQLite - bytebase/employee-sample-database
Starred by 75 users
Forked by 47 users
Languages   PLpgSQL 99.3% | Shell 0.7%
🌐
Howtodojo
howtodojo.com › learn technology through step by step tutorials › sample database › postgre sql sample database
PostgreSQL Sample Database | Howtodojo
December 1, 2023 - https://github.com/raosaif/sample_postgresql_database · https://github.com/robconery/dvdrental · https://github.com/YashMotwani/Sakila-DVD-Rental-database-Analysis · https://github.com/h8/employees-database · https://github.com/Azure-Samples/postgresql-samples-databases ·
🌐
OneCompiler
onecompiler.com › postgresql › 3y2f5mnz5
employee - PostgreSQL - OneCompiler
Getting started with the OneCompiler's PostgreSQL editor is really simple and pretty fast. The editor shows sample boilerplate code when you choose database as 'PostgreSQL' and start writing queries to learn and test online without worrying about tedious process of installation.
🌐
GitHub
github.com › profolsen › employees
GitHub - profolsen/employees: An altered version of the postgresql employees sample database plus data generator.
An altered version of the postgresql employees sample database plus data generator. - profolsen/employees
Author   profolsen
🌐
Wings Of Technology
wingsoftechnology.com › postgresql-compatible-employee-related-tables-ddl-and-insert-scripts
PostgreSQL Compatible Employee Related Tables DDL and Insert Scripts - Wings Of Technology
June 20, 2021 - Hello there! Generally, when it comes to practicing SQL queries, we start with an employee table that is a kind of standard set by the Oracle database. What if we want the same DDL or data in the PostgreSQL database for the same employee-related tables. So we have given DDL and INSERT scripts for the below four tables.
🌐
PostgreSQL Tutorial
postgresqltutorial.com › postgresql-getting-started › postgresql-sample-database
PostgreSQL Sample Database
We will use the DVD rental database to demonstrate the features of PostgreSQL. The DVD rental database represents the business processes of a DVD rental store. The DVD rental database has many objects, including: ... In the diagram, the asterisk (*), which appears in front of the field, indicates the primary key. ... The database file is in zipformat ( dvdrental.zip) so you need to extract it to dvdrental.tar before loading the sample database into the PostgreSQL database server.
🌐
Neon
neon.com › docs › import › import-sample-data
Postgres sample data - Neon Docs
Designing the relational schema was undertaken by Giuseppe Maxia while Patrick Crews was responsible for transforming the data into a format compatible with MySQL. Their work can be accessed here: https://github.com/datacharmer/test_db. Subsequently, this information was adapted to a format suitable for PostgreSQL: https://github.com/h8/employees-database.
🌐
Data Xtractor
data-xtractor.com › home › knowledge base › employees database sample
Employees Database Sample
March 6, 2022 - Connect to the database, then load and run the Employees – Amazon Aurora.sql script from MySQL Workbench or other free database manager. PostgreSQL – from pgAdmin or other free database manager, create a new EmployeesQX database connecting ...
🌐
EnterpriseDB
enterprisedb.com › docs › epas › latest › epas_compat_ora_dev_guide › 02_sql_tutorial › 01_sample_database
EDB Docs - EDB Postgres Advanced Server v15 - Sample database
September 30, 2020 - Throughout this tutorial, we work with a sample database to help explain database concepts, from basic to advanced.
🌐
PostgreSQL
postgresql.org › message-id › CAEigJJDo0Evs=W2gpjALdUm5xxf+c=WNQA4-3fkTv=Aj6ERy8w@mail.gmail.com
PostgreSQL: Sample databases
January 16, 2013 - Is there a good sample database (with decent data volumes) for postgresql? I am interested in one for learning and automated testing. I looked at http://pgfoundry.org/projects/dbsamples/ (specifically at pagila), but it seemed incomplete and not maintained, I also looked at http://dev.mysql.com/doc/index-other.html. Employee data (large dataset, includes data and test/verification suite) looks interesting.