Introduction to relational databases

Introduction

SQL is the way to create and access relational databases. See here for why someone working in statistics or machine learning should know about SQL.

Overview of relational databases

Documentation for databases

Introduction to SQL

The information below is a generic introduction to using SQL to create, access and update a relational database.

Using SQL from python

One simple way to learn SQL is to use the sqlite module in python.

Help with debugging SQL

It is important to be able to read data from SQLlite files directly into python. However, it is useful to be able to read SQLfiles independently