SQL Techniques
Get your environment set up
Install SQLite which is a lightweight popular database
Install DB Browser for SQLite
Create A New Database
SQLite: At a shell or DOS prompt, enter: "sqlite3 test.db". This will create a new database named "test.db". (You can use a different name if you like.)
DB Browser: Provides an easier user interface to execute SQL queries
SQL basics
Create a table
Insert data into a table
Select statements
type total_calories biking 220 football 410 swimming 260
Tips
Coalesce function:
Return the first non-null value in a list
Credits
Last updated