Introduction
In this course, SQL for marketers, we’ll start from the basics – installing SQL onto your Mac, Linux, or Windows machine and explaining what a relational database is. Next, we’ll look at basic tasks like creating tables and loading data into those tables. We will look at a wide variety of SQL commands and I will show you how to speed things up using indexes.
By end of this course you will learn about Advanced SQL queries on Spark, the big data framework that is the successor to MapReduce and also runs on top of Hadoop.
Course Objective
Participant will learn to:
-
Know how to answer all of their marketing-related questions using a SQL query
-
Understand what a relational database is
-
How to install SQL on Mac, Linux, or Windows
-
How to create a table
-
How to import data into a table
-
How to query a table
-
How to insert into, update, and delete from a table
-
Speed things up using indexes
-
Join tables together to merge data
-
Aggregate data using count, sum, and average
-
Determine where in the sales funnel customers are being lost
-
Chart your year over year revenue
-
Group and sort sales by location
-
Use SQL on Spark
-
Install Spark
-
Create a Spark cluster on AWS EC2
Target Audience
This course is intended for professionals who want to learn SQL from a practical, marketing and business analytics perspective, including:
- Marketing Analysts and Digital Marketing Professionals
- Product Managers and Growth Managers
- Business Analysts and Data Analysts
- Sales Analysts and Revenue Optimization Teams
- Professionals making data-driven marketing decisions
- Beginners in SQL who want real-world business applications
- Anyone interested in analyzing customer behavior, funnels, and revenue data
- Professionals looking to expand into Big Data and Spark SQL
Course Outline
Day 1: SQL Fundamentals & Database Basics
Introduction to SQL
What is a Relational Database
Installing SQL (Mac, Linux, Windows)
Overview of SQL Databases
Creating Tables
Loading Data into Tables
Basic SQL Commands
Querying Data (SELECT Basics)
Day 2: Data Manipulation (CRUD Operations)
Creating Tables in Detail
Modifying Table Structure
Insert, Update & Delete Operations
Understanding CRUD Concepts
Importing Data into Tables
Working with Tab-Separated Data
Basic Filtering with IN & BETWEEN
Day 3: Joins & Data Relationships
Understanding Data Relationships
Joining Tables
Inner Joins
Merging Multiple Data Sources
Join Use Cases in Marketing Data
Querying Combined Datasets
Day 4: Aggregation, Analytics & Marketing Insights
COUNT, DISTINCT, SUM
MIN, MAX, AVG Functions
GROUP BY Queries
Sorting and Limiting Results
Marketing Analytics Use Cases
Sales by Location
Funnels Analysis (Customer Drop-off)
Year-over-Year Revenue Analysis
Day 5: Performance, Indexing & Spark SQL
Understanding Indexes
Speed Optimization with Indexes
Index Performance Comparison
Advanced Query Optimization
Introduction to Spark SQL
Installing Spark
Creating a Spark Cluster on AWS EC2
Running SQL on Big Data (Spark)
Final Practice Exercises
About London
The UK capital of London is a city that combines the old and the new. It is as equally famous for the latest fashion and innovation as it is for its impressive heritage. London's attractions range from the Royal Palace to the DIY atmosphere of its markets. It is also a picturesque city of parks and of course, the majestic Thames River. The city extends for miles beyond its ancient core and each neighborhood has its own charming atmosphere for visitors to explore. London also wears its status as a world city proudly and the influence of different cultures is plain to see in the food and fashion of the capital.
Things to do and places to visit in London
With so many attractions in London, anyone can find something to delight them. Art lovers will enjoy the world-renowned museums and galleries, most of which are free. Sports fans are spoilt for choice by the city's array of football clubs. Theatre and music fans have a vast list of venues to visit, whilst shopaholics have Harrods, Oxford Street, Camden and much more to look forward to after arranging flights to London.
Some unmissable London attractions include:
- Seeing priceless masterpieces in the Tate Britain or the National Gallery.
- Watching the changing of the guard at Buckingham Palace.
- Visiting Trafalgar Square's famous monument.
- Marveling at the Crown Jewels in the Tower of London.
- Getting a bird's eye view of the city from the London Eye.
- Tasting one of Brick Lane's famous curries.
- Browsing the exclusive shops of Knightsbridge.
- Visiting a market – Spitalfields for antiques, Camden for clothes or Borough Market for street food.
- Admiring design from around the world in the Victoria and Albert Museum.
- Looking for clues at the home of fiction's most famous detective, Sherlock Holmes.
- Strolling through one of the lovely parks, including Hyde Park, St James' Park or Kew Gardens.
- Eating Britain's most famous dish, fish and chips.
- Watching the street performers in Covent Garden.
- Enjoying the views at a South Bank cafe.