From 0 To 1:SQL And Databases - Heavy Lifting

Video description

Your bodyguard for when data gets too big, this course is strong but friendly, funny yet deep, animated yet thoughtful. Let’s parse that. Your bodyguard for when data gets too big: Most business folks (and quite a few engineers) use Excel as a basic tool of decision making and modeling, but when you can't fit the data you'd like into an Excel spreadsheet that you can easily open, its time to move to a database. The course is strong but friendly: This course will help you move to a database without being intimidated by the new environment. Don't let anyone tell you that any dataset is too large or too complicated for you to understand. The course is funny yet deep: It goes really deep into the topics that folks often find hard to understand, such as joins, aggregate operators and interfacing with databases from a programming language. But it never takes itself too seriously. The course is very visual: most of the techniques are explained with the help of animations to help you understand better. This course is practical as well: Queries are explained in excruciating detail, indices are demystified, and potentially career-limiting traps (Drop, Alter) are marked with bright yellow tape markers so you can steer clear. The course is also quirky. The examples are irreverent. Lots of little touches: repetition, zooming out so we remember the big picture, active learning with plenty of quizzes. There’s also a peppy soundtrack, and art - all shown by studies to improve cognition and recall.

What You Will Learn

  • Explore large datasets and uncover insights - going far beyond the Excel, deep into the data
  • Model and create a database for day-to-day use
  • Interface with databases from a programming language such as Python
  • Have the comfort and confidence needed to load data and use both GUI and a command line interface for database operations
  • Fully understand and leverage joins, sub queries, aggregates, indices, triggers, stored procedures and other major database concepts


Data analysts who would like to really get down and dirty with the data. Business folks and executives looking to make their decision making more data-driven, and seeking the technical knowledge to do so.Students of Computer Science and Computer Engineering looking to understand database concepts for the first time. Software engineers who need to understand and interface with databases from programming languages in their work.

About The Author

Loonycorn: Janani Ravi is a certified Google Cloud Architect and Data Engineer. She has earned her master's degree in electrical engineering from Stanford. She is currently in Loonycorn, a technical video content studio, of which she is a cofounder. Prior to co-founding Loonycorn, she worked at various leading companies, such as Google and Microsoft, for several years as a software engineer.

Table of contents

  1. Chapter 1 : Introduction To Databases
    1. Data Is A Big Deal
    2. Why Do We Need A Database?
    3. MySQL - Installed and Introduced (Mac OS X)
    4. Setting up MySQL and the Workbench (Mac OS X)
    5. MySQL Server and Workbench installed (Windows)
    6. Entities And Attributes - Things And Stuff Which Describe Them
    7. dentifying Entities Using Keys
    8. The Entity Relationship (E-R) Model - Entities And Attributes
    9. Relationships - What Connects Entities
    10. Cardinality Of Relationships
    11. The Entity Relationship (E-R) Model - Relationships
    12. Mapping E-R Theory to the world of databases
  2. Chapter 2 : Going From Relations To Database Tables
    1. Introducing The SELECT Statement
    2. Introducing The SELECT Statement
    3. Quotes and NULLS - Avoid The Gotchas
    4. Simple Examples
    5. More Simple Examples
    6. Using the Like Operator
    7. Between, In and Not In
    8. A Multi-Column Select
    9. Working with Dates (MySQL As Example)
  3. Chapter 3 : Creating Tables And Inserting Data Into Them
    1. Creating Database, Use Database and Create Table
    2. Column Subtleties: Null, Primary Key and Auto-Increment
    3. An Example - Sales Data
    4. Insert Table - Examples
    5. More Insert Table Examples
    6. Referential Integrity Introduced
    7. Creating a Database and Using It
    8. An Involved Bulk Loading Example
  4. Chapter 4 : Back To Retrieving Data - More Advanced Queries Using Group By
    1. Aggregation Operators Introduced
    2. The Group By Clause
    3. More Group By Examples
    4. Order By
    5. Having
    6. Limit
    7. Count and Count Distinct
  5. Chapter 5 : Joins - Don't Let Them Intimidate You! They're All Fuzzy And Nice
    1. Introduction To SQL Joins
    2. Cross Joins aka Cartesian Joins
    3. Inner Joins
    4. Left Outer Joins
    5. Right, Full Outer Joins, Natural Joins, Self Joins
  6. Chapter 6 : Subqueries: Layering The Cake
    1. Subqueries Introduced
    2. Union, Union All, Intersect and Except.
    3. Query-In-A-Query
    4. Inserting Via Subqueries
    5. Use A Subquery To Populate A Table
    6. Outer Join And Inner Join: A Little Test
  7. Chapter 7 : Constraints
    1. Not NULL constraints
    2. Primary Keys
    3. Foreign Key Constraints
    4. Deletes and Updates With Foreign Key Constraints
    5. Check Constraints
  8. Chapter 8 : Somewhat More Advanced Concepts
    1. Indices
    2. Stored Procedures
    3. Triggers
    4. Transactions
    5. Handle with Care: Update and Delete
    6. Handle with Care: Alter and Drop
    7. Views, Temporary Tables, and User Priviliges
  9. Chapter 9 : Table Design: Theory And Practice
    1. Practical Tips for Table Designs that you won't regret!
    2. More Practical Design Tips
    3. Normal Forms - Friends Once You Know Them
  10. Chapter 10 : Putting It Together: Database Programming In Python
    1. Interfacing with Databases from Python
    2. SQLite works right out of the box
    3. Build a database of Stock Movements - I
    4. Build a database of Stock Movements - II
    5. Build a database of Stock Movements - III
  11. Chapter 11 : Appendix
    1. [For Linux/Mac OS Shell Newbies] Path and other Environment Variables

Product information

  • Title: From 0 To 1:SQL And Databases - Heavy Lifting
  • Author(s): Loonycorn
  • Release date: January 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781789134285