Skip to content

Commit 24005b2

Browse files
committed
Toy database file
1 parent fed1a1b commit 24005b2

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
This repository contains the quizzes along with their SQL commands for the concepts taught in the course [SQL for Data Analysis](https://in.udacity.com/course/sql-for-data-analysis--ud198) by [MODE](https://modeanalytics.com) at [Udacity](http://udacity.com/).
44

5+
You can restore the toy dataset "parch and posey" to your local machines from the file **parch_and_posey_db** using the following steps:
6+
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`
9+
10+
Now, SQL commands can be used to explore the dataset and run queries on it.
11+
12+
513
</br>
614
Here is the schema of the database used for all the queries.
715

parch_and_posey_db

306 KB
Binary file not shown.

0 commit comments

Comments
 (0)