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 Barcelona
Barcelona, the main city of Catalonia on Spain's east coast, is known for its fantastic weather and proud local culture. It is also Spain's second largest city and has all the cosmopolitan trappings you would expect. Among Barcelona's many attractions are the delicious seafood, stunning architecture and vibrant atmosphere. It began life as a Roman city and has remained important ever since. Today, it is a buzzing city offering more than enough reasons to look for flights to Barcelona. Between UNESCO World Heritage Sites, famous sports teams plus great food, there's no shortage of ways to amuse oneself.
Things to do and places to visit in Barcelona
Barcelona really does have something for everyone. The attractions of Barcelona include beautiful beaches to relax on, almost endless historical locations to explore, all the shops you could ever wish for, one of the world's most admired football clubs and world-class eateries - you may never want to leave. Luckily, with so much to do the city's compactness makes it easy to explore. Simply wandering through the streets is a great way to soak up the atmosphere.
Just some of the great things to do in Barcelona include:
- Marvel at Gaudi's masterwork, the Sagrada Familia.
- Sample the wide range of tapas in Barcelona's bars.
- See the somewhat surreal architecture of Antoni Gaudi.
- Wander through Park Guell, which offers great views over the city and out to sea.
- See the Cubist master’s early work in the Picasso Museum.
- Get lost in the winding streets of the Gothic Quarter, known locally as the Barri Gotic.
- Browse the upmarket shops along the Passeig de Gracia.
- Soak up the tranquil atmosphere in the Cathedral of the Sea.
- Watch the silky skills of FC Barcelona in a game at the Camp Nou.
- Enjoy authentic paella with fresh seafood.
- Climb Montjuic for spectacular views.