Table of Contents
Table of Contents
3.1 Welcome
3.1.1 SQL and SQL Standardization
3.2 Sub-Languages of SQL
3.3 The Basics of SELECT, Order of Execution, and the Dual Table
3.4 Aliases (Field and Table Aliases)
3.5 Calculated Values and Single-Line Functions
3.6. Filtering Data (WHERE)
3.6.1 Wildcards
3.6.2 Filtering with Aliases
3.7 Sorting Data (ORDER BY)
3.8 Limiting Results (FETCH)
3.9 CRUD
3.9.1 INSERT - Inserting New Data Rows
3.9.2 UPDATE - Updating Existing Data
3.9.3 DELETE - Deleting Existing Data
3.10 Practice Problems
Suggested Additional Reading Materials
Text - Chapter 16 (SQL Data Manipulation Language)
(Up to end of "Built-in Functions", ignoring grouping, count and having sections)
W3Schools - SELECT
W3Schools - SELECT DISTINCT
W3Schools - SELECT WHERE
W3Schools - SELECT AND, OR, NOT
W3Schools - SELECT ORDER BY
W3Schools - NULL Values
W3Schools - INSERT
W3Schools - UPDATE
W3Schools - DELETE
SQL Tutorial
SQL HOME
SQL Intro
SQL Syntax
SQL Select
SQL Select Distinct
SQL Where
SQL Order By
SQL And
SQL Or
SQL Not
SQL Insert Into
SQL Null Values
SQL Update
SQL Delete
SQL Select Top
SQL Aggregate Functions
SQL Min and Max
SQL Count
SQL Sum
SQL Avg
SQL Like
SQL Wildcards
SQL In
SQL Between
SQL Aliases
SQL Joins
SQL Inner Join
SQL Left Join
SQL Right Join
SQL Full Join
SQL Self Join
SQL Union
SQL Group By
SQL Having
SQL Exists
SQL Any, All
SQL Select Into
SQL Insert Into Select
SQL Case
SQL Null Functions
SQL Stored Procedures
SQL Comments
SQL Operators
SQL Database
SQL Create DB
SQL Drop DB
SQL Backup DB
SQL Create Table
SQL Drop Table
SQL Alter Table
SQL Constraints
SQL Not Null
SQL Unique
SQL Primary Key
SQL Foreign Key
SQL Check
SQL Default
SQL Index
SQL Auto Increment
SQL Dates
SQL Views
SQL Injection
SQL Hosting
SQL Data Types
SQL References
SQL Keywords
MySQL Functions
SQL Server Functions
MS Access Functions
SQL Quick Ref
SQL Examples
SQL Examples
SQL Editor
SQL Quiz
SQL Exercises
SQL Server
SQL Syllabus
SQL Study Plan
SQL Bootcamp
SQL Certificate
SQL Training
Table of Contents
SQL Habit has 2 main parts – course aka "business simulator" and practice exercises. Practice exercises
are standalone and based on various datasets, where the course is based on a story of a fictional startup
company called Bindle.
Bindle is a subscription service for reading books online. The course starts with a launch of Bindle's
website and together with the founders will learn how to analyze website performance, marketing
performace, dive into analytics of web and mobile apps and much more.
The course covers the first year of Bindle. Each chapters covers one month focused on a specific topic.
During each chapter we'll see many real life example in the life of Bindle, learn how data helps to take
decisions and solve them. The most important – we'll learn all nuances of how data is recorded and
stored in Bindle's data warehouse.
The course requires no prio knowledge of SQL. It'll take you from absolute 0 to Advanced with real life
examples, lessons and exercises.
Introduction
You’ll learn how SQL Habit works and how to get the most out of the course. A quick chapter to set you
39. Type-casting
Start
Running marketing
This chapter focuses on SQL for marketing: what data can help us measure an effectiveness of our
campaigns, how to group data, work with time lines and cohorts
analysis for product flows (onboarding, purchase), retention metrics and more
124. Intro to pirate metrics AARRR: Acquisition, Activation, Retention, Revenue, Referral
Start
155. Deep dive into window functions. Part 2: Grouping and counting with percentage
Start
Mobile attribution
You’ll learn about mobile attribution. How it works technically and how mixed attribution model works
LTV
AB-tests analysis
It’s time for the new chapter at Bindle – running AB-tests. Just shipping features is not enough, AB-tests
allow learning how and why changes in the product affect users behavior and happiness. This chapter
them. We’ll also discuss automatic error detection using data and SQL.
SQL at work
This chapter is a collection of tips and tricks from Marketers, Product Managers and Data Analysts that
Manipulating data
In this chapter we’ll talk about everything we haven’t been talking yet – modifying data in the database.
264. Epilogue
Start
Appendix
This is SQL Habit’s storage room. It covers the aspects of SQL databases we haven’t discussed yet: rare
JOIN types, set theory, lists of scalar, aggregate and window functions
266. Set theory basics and SQL operations: UNION, INTERSECT, EXCEPT
Start
Table of Contents
Introduction
What is the difference between the conventional way to store data and the database
management concept?
What is a Database Management System?
Key points for a Database Management System (DBMS)
DBMS VS File system
What are the types of DBMS available?
Advantages of Database management System
Most used Databases Management systems Software
What is a Relational Database management System?
Difference between DBMS And RDBMS
Types of keys in RDBMS
What is SQL?
Data types in MySQL
Types of SQL Statements
What is DDL?
What is a DML command?
What is a DQL command?
What is a DCL command?
What is a TCL command?