You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,14 @@
2
2
3
3
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/).
4
4
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
+
5
13
</br>
6
14
Here is the schema of the database used for all the queries.
0 commit comments