File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,14 @@ This repository contains the quizzes along with their SQL commands for the conce
44
55You can restore the toy dataset "parch and posey" to your local machines from the file ** parch_and_posey_db** using the following steps:
66
7- 1 . Create a new database - ` CREATE DATABASE parch_and_posey; `
8- 2 . Restore into the database - ` pg_restore -d parch_and_posey /path/to/parch_and_posey_db `
7+ 1 . Open Terminal.
8+ 2 . Enter PostgreSQL console - ` psql `
9+ 3 . Create a new database - ` CREATE DATABASE parch_and_posey; `
10+ 4 . Restore into the database - ` pg_restore -d parch_and_posey /path/to/parch_and_posey_db `
11+
12+
13+ ** NOTE: The data dump file and the above commands works well with PostgreSQL (may or may not work with MySQL and others).**
14+
915
1016Now, SQL commands can be used to explore the dataset and run queries on it.
1117
You can’t perform that action at this time.
0 commit comments