Database 2018-02: Difference between revisions
(11 intermediate revisions by the same user not shown) | |||
Line 56: | Line 56: | ||
| Assignments || 10 || Midterm || 30 | | Assignments || 10 || Midterm || 30 | ||
|- | |- | ||
| Project || | | Project || 10 || Final || 30 | ||
|- | |- | ||
| || || Total || 100% | | || || Total || 100% | ||
Line 80: | Line 80: | ||
| style="text-align:center;" | 1 | | style="text-align:center;" | 1 | ||
| style="vertical-align: top;"| '''Course Overview and Database History''' | | style="vertical-align: top;"| '''Course Overview and Database History''' | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day01/ | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day01/Day01_Intro.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day01/Day01_Intro.pdf pdf] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day01/dataset_1.db DB] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day01/DB-WS01a.ipynb Worksheet 1a] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day01/DB-WS01b.ipynb Worksheet 1b] | ||
<br> If you haven't installed Jupyter, then please consult [[#JupyterInstall | Jupyter Installation Guide]] | <br> If you haven't installed Jupyter, then please consult [[#JupyterInstall | Jupyter Installation Guide]] | ||
| style="vertical-align: top;"| | | style="vertical-align: top;"| | ||
Line 92: | Line 92: | ||
|- | |- | ||
| style="text-align:center;" | 2 | | style="text-align:center;" | 2 | ||
| style="vertical-align: top;"| ''SQL Introduction Part I''' | | style="vertical-align: top;"| '''SQL Introduction Part I''' | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day02/Day02_SQL_p1.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day02/Day02_SQL_p1.pdf pdf] ] | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day02/Day02_SQL_p1.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day02/Day02_SQL_p1.pdf pdf] ] | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day02/Day02_worksheet.ipynb Notebook] ] | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day02/Day02_worksheet.ipynb Notebook] ][ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day02/Day02_worksheet_eng.ipynb English] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day02/dataset_1.db DB] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day02/DB-WS02a.ipynb Worksheet 2a] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day02/DB-WS02b.ipynb Worksheet 2b] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day02/DB-WS02c.ipynb Worksheet 2c] | ||
| style="vertical-align: top;"| Ch. 6 | | style="vertical-align: top;"| Ch. 6 | ||
| style="vertical-align: top;"| '''Assignment 1 ''' | | style="vertical-align: top;"| '''Assignment 1 ''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/HW1.ipynb Assignment 1] [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/en/HW1.ipynb [English]] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/correct_output.txt Correct Output] [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/en/correct_output.txt [English]] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/flights.db.zip DB for the assignment (must be unzipped)] [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/en/flights.db.zip [English]] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/sanity_check.py Sanity checker script (run on the terminal)] [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/en/sanity_check.py [English]] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/submit.py Answer Template] [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/en/submit.py [English]] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/submission_instructions.txt Instructions on submitting the assignment] [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments1/en/submission_instructions.txt [English]] | ||
<!-- Topic 3 --> | <!-- Topic 3 --> | ||
Line 116: | Line 116: | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day03/Day03_worksheet.ipynb Notebook] ] | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day03/Day03_worksheet.ipynb Notebook] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day03/dataset_1.db DB] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day03/DB-WS03a.ipynb Worksheet 3a] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day03/DB-WS02b.ipynb Worksheet 3b] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day03/DB-WS03c.ipynb Worksheet 3c] | ||
| style="vertical-align: top;"| Ch. 6 | | style="vertical-align: top;"| Ch. 6 | ||
| style="vertical-align: top;"| | | style="vertical-align: top;"| | ||
Line 142: | Line 142: | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day05/Day_05_Design_p1.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day05/Day_05_Design_p1.pdf pdf] ] | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day05/Day_05_Design_p1.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day05/Day_05_Design_p1.pdf pdf] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day05/DB-WS05a.ipynb Worksheet 5a] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day05/closure_v2.py Closure visualization tool for python v2] | ||
[ | [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day05/closure_v3.py / python v3] | ||
| style="vertical-align: top;"| Ch. 3.2-3.7 | | style="vertical-align: top;"| Ch. 3.2-3.7 | ||
| style="vertical-align: top;"| | | style="vertical-align: top;"| | ||
Line 157: | Line 157: | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day06/Day_06_Design_p2.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day06/Day_06_Design_p2.pdf pdf] ] | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day06/Day_06_Design_p2.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day06/Day_06_Design_p2.pdf pdf] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day06/DB-WS06a.ipynb Worksheet 6a] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day06/DB-WS06a.ipynb Worksheet 6b] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day06/closure_v2.py Closure visualization tool for python v2] | ||
[ | [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day06/closure_v3.py / python v3] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day06/DB-WS-3NF.ipynb Excercises on 3rd Normal Form] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day06/DB-WS-MVDs.ipynb Excercises on Multi-Valued Dependency] | ||
| style="vertical-align: top;"| | | style="vertical-align: top;"| | ||
| style="vertical-align: top;"| '''Assignment 2''' | | style="vertical-align: top;"| '''Assignment 2''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments2/HW2.ipynb Assignment 2] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments2/submit.py Answer Template] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Assignments2/submission_instructions.txt Instructions on submitting the assignment] | ||
Line 186: | Line 186: | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/Day_08_Con_lock.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/Day_08_Con_lock.pdf pdf] ] | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/Day_08_Con_lock.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/Day_08_Con_lock.pdf pdf] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/DB-WS08a.ipynb Worksheet 8a] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/txn_viewer_v2.py Transaction visulization tool for pyton v2] | ||
[ | [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/txn_viewer_v3.py / python v3] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day08/txnViewer.js Transaction visulation java script] | ||
| style="vertical-align: top;"| Ch. 18.1-18.4 | | style="vertical-align: top;"| Ch. 18.1-18.4 | ||
| style="vertical-align: top;"| | | style="vertical-align: top;"| | ||
Line 200: | Line 200: | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day09/Day_09_BM_EM.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day09/Day_09_BM_EM.pdf pdf] ] | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day09/Day_09_BM_EM.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day09/Day_09_BM_EM.pdf pdf] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day09/DB-WS09a.ipynb Worksheet 9a] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day09/EMS_Demo.ipynb External Merge Sort Workseet] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day09/io_backend_v2.py Buffer manager engine for pyton v2] | ||
[ | [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day09/io_backend_v3.py / python v3] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day09/display_tools.py Display helper] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day09/compModel.js Modeling java script] | ||
| style="vertical-align: top;"| Ch. 11.4 | | style="vertical-align: top;"| Ch. 11.4 | ||
| style="vertical-align: top;"| | | style="vertical-align: top;"| | ||
Line 226: | Line 226: | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day11/Day_11_Indexes.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day11/Day_11_Indexes.pdf pdf] ] | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day11/Day_11_Indexes.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day11/Day_11_Indexes.pdf pdf] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day11/DB-WS11a.ipynb Worksheet 11a] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day11/complaint.db Database for the worksheet] | ||
| style="vertical-align: top;"| Ch. 13.1-13.3 | | style="vertical-align: top;"| Ch. 13.1-13.3 | ||
| style="vertical-align: top;"| | | style="vertical-align: top;"| | ||
Line 236: | Line 236: | ||
| style="text-align:center;" | 12 | | style="text-align:center;" | 12 | ||
| style="vertical-align: top;"| '''Join part 1''' | | style="vertical-align: top;"| '''Join part 1''' | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day12/ | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day12/Day12_Joins_p1.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day12/Day12_Joins_p1.pdf pdf] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
| style="vertical-align: top;"| Ch. 15 | | style="vertical-align: top;"| Ch. 15 | ||
Line 246: | Line 246: | ||
| style="text-align:center;" | 13 | | style="text-align:center;" | 13 | ||
| style="vertical-align: top;"| '''Join part 1''' | | style="vertical-align: top;"| '''Join part 1''' | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day13/ | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day13/Day13_Joins_p2.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day13/Day13_Joins_p2.pdf pdf] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
| style="vertical-align: top;"| Ch. 15 | | style="vertical-align: top;"| Ch. 15 | ||
Line 258: | Line 258: | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day14/Day_14_Algebra.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day14/Day_14_Algebra.pdf pdf] ] | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day14/Day_14_Algebra.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day14/Day_14_Algebra.pdf pdf] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day14/DB-WS014a.ipynb Worksheet 9a] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day14/DB-WS14a_tree.png Picture used for the Worksheet] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day14/relation_algebra_v2.py Relational Algebra for pyton v2] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day14/display_tools.py Display helper] | ||
| style="vertical-align: top;"| Ch. 2 and 16.3 | | style="vertical-align: top;"| Ch. 2 and 16.3 | ||
| style="vertical-align: top;"| | | style="vertical-align: top;"| | ||
Line 272: | Line 272: | ||
[ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day15/Day_15_Optimization.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day15/Day_15_Optimization.pdf pdf] ] | [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day15/Day_15_Optimization.pptx pptx] ] [ [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day15/Day_15_Optimization.pdf pdf] ] | ||
<br> '''Worksheet:''' | <br> '''Worksheet:''' | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day15/DB-WS015a.ipynb Worksheet 15a] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day15/DB-WS015b.ipynb Worksheet 15b] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day15/complaint.db Database for the worksheet] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day15/relation_algebra_v2.py Relational Algebra for pyton v2] | ||
<br> [ | <br> [http://open.gnu.ac.kr/lecslides/2018-2-DB/Lectures/Day15/display_tools.py Display helper] | ||
| style="vertical-align: top;"| | | style="vertical-align: top;"| | ||
| style="vertical-align: top;"| | | style="vertical-align: top;"| | ||
|} | |} | ||
Line 335: | Line 334: | ||
* you can download the course material from [https://github.com/resourceful/lecture_db here] | * you can download the course material from [https://github.com/resourceful/lecture_db here] | ||
* If you want the up-to-date version of the course material, checkout the course repository from the <code>git</code> by typing the following command | * If you want the up-to-date version of the course material, checkout the course repository from the <code>git</code> by typing the following command | ||
** <code> git | ** <code> git clone https://github.com/resourceful/lecture_db YourDestination </code> | ||
==== IPython-SQL ==== | ==== IPython-SQL ==== | ||
Line 353: | Line 352: | ||
You can always access the latest course materials on the course website. You can download all at once and keep them synced by using git. To get started with this, run: | You can always access the latest course materials on the course website. You can download all at once and keep them synced by using git. To get started with this, run: | ||
<code> git clone https://github.com/resourceful/lecture_db | <code> git clone https://github.com/resourceful/lecture_db YourDestination </code> | ||
Now you should have all the materials in ''Database''; to get the latest version, run the following command in the repository. | Now you should have all the materials in ''Database''; to get the latest version, run the following command in the repository. |
Latest revision as of 14:14, 20 September 2018
Class Information
Class Info | |
---|---|
Class | ETA00137 - 데이터베이스 |
Lecturer | Seongjin Lee |
Time and Place | 407-507 Tuesday 16:00-18:00 407-507 Thursday 16:00-17:00 |
Office Hour | Tuesday: 18:00-19:00 |
Contacts | Office: 407-314 |
Email: insight at gnu dot ac dot kr |
Course Introduction
In Database Management System (DBMS), we study the database which is organized and structured collection of data. DBMS is a software system which acts as intermediary between user or application and the data. It allows to navigate through the data and analyze the data. In this course, we are going to learn the core mechanism that holds the system together.
Goal
In this course, we are going to learn the essence of data base management system. Students are going to learn the following concepts.
- Relational model
- Entity-relational model
- SQL
- External, conceptual, physical levels of DMBS
- Data definition language, Data manipulation language, query language
- Data structures
- Index
- Transaction and Concurrency
Text Book
Main Textbook
Not necessarily required to buy the book
- Database Systems : the Complete Book (Paperback) | Garcia-Molina, Ullman 지음 |Pearson Education Asia [link ][1판 번역본 ]
Supplementary Textbook
- Database Management Systems 3/E, Ramakrishnan , Gehrke, Johannes 지음 | McGraw-Hill 번역본 교보문고 바로가기
- 만화로 쉽게 배우는 데이터베이스, Takahashi Mana 지음, 홍희정 옮김, Azuma Shouko 그림, 성안당
- 데이터베이스 시스템 (AN INTRODUCTION TO DATABASE SYSTEMS), C.J. Date, Pearson, 2004
Evaluation
Categories | Ratio | Categories | Ratio |
---|---|---|---|
Attendance | 10 | Quiz | 10 |
Assignments | 10 | Midterm | 30 |
Project | 10 | Final | 30 |
Total | 100% |
- All exams are closed book and closed notes
- Any request for regrade must be made within one week of the time that the paper is returned, with no exception. You should describe in writing why the score is incorrect or graded unfairly. The written argument must be self-contained and can be evaluated based only on what is written on the paper.
Discussion
Please provide your info on this link.
All discussions and assignments are to be submitted in Piazza. Enroll into the class through the following link
Lecture Plan
Working Environment Setup
Step 1: Installing Jupiter Notebook
Gentle reminder that, jupyter notebook best works at Linux
Option 1: Installation via Anaconda
It is recommended that you install Jupyter Notebook via Anaconda
- Download & install Anaconda for Python here
- Run
jupyter notebook
to confirm that it is properly installed
If Anaconda doesn't have jupyter: you can try running
conda install jupyter
Option 2: Installation via pip
You can also install via the python package manager pip
- Make sure you have installed
python
andpip
- Make sure
pip
is updated to its latest versionpip install --user --upgrade pip
- Install Jupyter Notebook
pip install --user --upgrade jupyter
Installing other kernels and versions of python
When you are using Python3 and want to switch to Python2 in the notebook,
python2 -m pip install ipykernel
python2 -m ipykernel install —user
After restarting the Jupyter, you can chose different kernel in Jupyter notebook.
Step 2: Installing Other Dependencies
Git
Git is a version control system which we use to store the various course material; you can download from here
- you can download the course material from here
- If you want the up-to-date version of the course material, checkout the course repository from the
git
by typing the following commandgit clone https://github.com/resourceful/lecture_db YourDestination
IPython-SQL
python-sql
allows you to use SQL queries inside jupyter notebooks; install using pip
pip install --user --upgrade ipython-sql
other modules
you will be needing
- markdown
- numpy
- pandas
Step 3: Getting Started
Getting the latest course materials
You can always access the latest course materials on the course website. You can download all at once and keep them synced by using git. To get started with this, run:
git clone https://github.com/resourceful/lecture_db YourDestination
Now you should have all the materials in Database; to get the latest version, run the following command in the repository.
git pull
To read the notebook
In the directory where the relevant course materials are, run:
jupyter notebook
Course Credit
Much of the materials of this lecture is based on CS145 of Stanford.