Skip to content

Commit f644269

Browse files
AyushiAyushi
authored andcommitted
Updated db restoration instructions
1 parent 9836c55 commit f644269

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,14 @@ This repository contains the quizzes along with their SQL commands for the conce
44

55
You 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

1016
Now, SQL commands can be used to explore the dataset and run queries on it.
1117

0 commit comments

Comments
 (0)