Skip to content

paul-w42/SQL_Practice_Problems-PostgreSQL_file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

PostgreSQL Database - book SQL Practice Problems

This repository contains a PostgreSQL compatible SQL file to create the database used in the book SQL Practice Problems written by Silvia Moestl Vasilik.

The books website is SQLPracticeProblems.com

A big Thank You to Silvia Moestl Vasilik for permission to modify the original database file.

Usage

You can make use of this sql file from inside psql by using the command \i posgres_practice_utf8.sql as long as this file is in the current path. This will create a database titled northwind_spp with its requisite tables and practice data.

After creating the database, if you are still inside psql you can switch to the new database with the command \c northwind_spp command (\c is short for \connect)

You should then be able to access the new database directly on subsequent uses with the following command (bash version shown):

psql -U USERNAME northwind_spp

About

This repo contains a PostgreSQL compatible SQL file that can be used when working through the problems in the book SQL Practice Problems.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors