Databases · DBC-48

SQL for Data Analytics with BigQuery

SQL for Data Analytics with BigQuery is a hands-on course in writing SQL to analyse business data on Google BigQuery, from SELECT, GROUP BY and joins to CTEs, window functions, and cohort, retention and funnel analysis, with an eye on query cost. It suits data and business analysts, marketing and sales teams, and Excel users whose data has outgrown spreadsheets.

Updated
From 6,210 THB / person 6,900 −10% excl. VAT 7% · group rates available
PDFDownload the course outline
  • Duration12 hours · 2 days
  • FormatOnsite / live online
  • Next roundOn request
  • LevelBeginner

Course overview

Much of an organisation's sales, customer and usage data now lives in cloud data warehouses such as Google BigQuery, yet the people who need those numbers to make decisions still wait for the data team to pull them, or download them into Excel until the laptop grinds to a halt. SQL has become a core skill for today's analysts because it lets them answer business questions themselves, from the full data set, quickly and in a way others can check.

This course starts with the free BigQuery sandbox and builds SQL from SELECT, WHERE and ORDER BY through summarising with GROUP BY and HAVING, joining tables, working with dates and text, grouping with CASE and breaking long queries into readable CTEs. It then moves into analysis with window functions for ranking, running totals and period-over-period comparison, cohort, retention and funnel analysis, cost-aware querying, saving views for Data Studio (formerly Looker Studio), and using Gemini in BigQuery to draft SQL safely, before closing with a business analysis project. (2 days, 6 hours per day, 12 hours in total, Beginner to Intermediate level.)

What you’ll gain

  • Use the BigQuery console and sandbox to explore datasets and tables
  • Write SQL that retrieves, filters, sorts and summarises data correctly with GROUP BY and HAVING
  • Join several tables without duplicating or losing figures
  • Handle dates, text and missing values, and group data with CASE
  • Write readable queries with CTEs and subqueries
  • Use window functions for ranking, running totals and period comparisons
  • Analyse cohorts, retention and funnels with SQL
  • Write cost-efficient queries and hand results on to Data Studio

Who this course is for

  • Data analysts and business analysts who want to pull and analyse data themselves
  • Marketing, sales and product teams who track figures from large data sets
  • Advanced Excel users who hit limits as their data grows
  • Organisations that keep data in Google BigQuery or are moving to the cloud
  • Anyone starting a career in data analysis with SQL

Prerequisites

  • Good Excel or Google Sheets skills, such as filtering, formulas and pivot tables
  • A basic grasp of business figures such as sales, customer counts and ratios
  • No prior SQL or programming experience is required
  • A Google account for setting up the BigQuery sandbox

Curriculum

Course Details

This course runs for 2 days, 6 hours per day (12 hours in total, 09:00-16:00), as lectures with labs on a sample online store data set and BigQuery public datasets. Beginner to Intermediate level, with no prior SQL required. All labs run in the BigQuery sandbox, which is free within Google's limits and needs no credit card; Gemini in BigQuery depends on the organisation's project settings. The course focuses on writing SQL for analysis and does not cover data pipeline design or data warehouse administration. Learners take home a lab guide, solution SQL for every lab and template queries for cohort, retention and funnel analysis.

Day 1 SQL Foundations for Analysis

Section 1: Lab: Getting Started with BigQuery

  • What BigQuery is and how it differs from analysing data in Excel

  • Set up the BigQuery sandbox and get to know projects, datasets and tables

  • Explore schemas, table previews and public datasets in the console

  • Lab: run a first query and check how much data it will scan before running it

Section 2: Lab: Retrieving, Filtering and Sorting Data

  • SELECT, aliases, DISTINCT and LIMIT

  • Filtering with WHERE: comparisons, AND, OR, IN, BETWEEN and LIKE

  • Sorting results with ORDER BY and handling NULL values

  • BigQuery data types and converting them safely with SAFE_CAST

Section 3: Summarising Data with Aggregates and GROUP BY

  • COUNT, SUM, AVG, MIN, MAX and COUNT DISTINCT

  • GROUP BY on several columns, and filtering summaries with HAVING

  • WHERE versus HAVING, and the logical order in which a query runs

  • Lab: summarise sales, order counts and average order value by month and category

Section 4: Lab: Joining Tables

  • When to use INNER, LEFT and FULL OUTER JOIN

  • Duplicate rows from joins that inflate totals, and how to check for them

  • Nested and repeated data in BigQuery, and using UNNEST

  • Lab: combine orders, customers and products to find sales by customer segment

Section 5: CASE, Dates and Text

  • Group data with CASE WHEN and count conditionally

  • DATE_TRUNC, EXTRACT, DATE_DIFF and the Thailand time zone

  • Text functions and REGEXP for cleaning data

  • Handle missing values with IFNULL and COALESCE, and divide safely with SAFE_DIVIDE

  • Lab: segment customers by spend and summarise weekly sales

Section 6: Lab: CTEs and Subqueries

  • Subqueries in WHERE and FROM

  • Break long queries into steps with WITH (CTEs) so they are easy to read and check

  • Check the result of each step before building the next one

  • Lab: find the top 10 products in each category with above-average sales

Day 2 Analytical SQL in Practice

Section 7: Window Functions: Ranking Data

  • The idea behind OVER, PARTITION BY and ORDER BY

  • How ROW_NUMBER, RANK and DENSE_RANK differ

  • Filter window function results with QUALIFY

  • Lab: find each customer's first order and the top sellers in each branch

Section 8: Lab: Running Totals and Period Comparisons

  • Running totals and moving averages with window frames

  • LAG and LEAD to compare with the previous month and the previous year

  • Share of total and growth rates

  • Lab: a monthly sales report with MoM and YoY figures

Section 9: Lab: Cohort, Retention and Funnel Analysis

  • Group customers by the month of their first purchase to build cohorts

  • Calculate monthly retention and lay it out as a cohort table

  • Funnels from event data: page view, add to cart and checkout

  • Read the results to find where customers drop off, and the pitfalls of interpretation

Section 10: Writing Cost-Efficient Queries

  • How BigQuery charges for queries and why bytes scanned matter

  • Avoid SELECT * and choose only the columns you need

  • Partitioned and clustered tables, and filtering so partitions are pruned

  • The query cache, dry runs and setting maximum bytes billed

  • Lab: compare bytes scanned before and after tuning a query

Section 11: Saving and Sharing Results, and Drafting SQL with Gemini

  • Save queries, create views and set up scheduled queries

  • Send results to Google Sheets and connect them to Data Studio

  • Use Gemini in BigQuery to draft and explain SQL from plain language

  • Review AI-written SQL for logic, figures and cost before using it

Section 12: Workshop: Capstone Business Analysis

  • Take a business brief from a fictional executive and turn it into questions SQL can answer

  • Write queries that analyse sales, customers and retention with the techniques covered

  • Save the results as views and connect Data Studio to present them visually

  • Present the findings, review the SQL together and wrap up with a query-writing checklist

Schedule & training options

For individuals — public rounds

No public rounds are open right now. Join the waiting list and we will contact you first when the next round opens, or ask us on LINE. Or call 02-570-8449 or 088-807-9770

For organisations — in-house / private

  • Tailor the content to your team’s tools and projects
  • Your dates, at your office or live online
  • Quotation with tax ID for procurement
Corporate training quote

Instructors

Frequently asked questions

Who is SQL for Data Analytics with BigQuery for, and what background is needed?

Built for Data analysts and business analysts who want to pull and analyse data themselves · Marketing, sales and product teams who track figures from large data sets · Advanced Excel users who hit limits as their data grows Background you should have: Good Excel or Google Sheets skills, such as filtering, formulas and pivot tables · A basic grasp of business figures such as sales, customer counts and ratios Not sure the fit is right? Talk to our team on LINE @itgenius or call 02-570-8449.

How much does SQL for Data Analytics with BigQuery cost and how long does it run?

THB 6,900 (currently THB 6,210 on promotion). The course runs 12 hours. The price excludes 7% VAT (for payment in a company's name). Pay by bank transfer to the company account, confirm it on our payment page, and we can issue the receipt or tax invoice in your company's name.

Do I get a certificate?

Yes. Everyone who completes the course receives a Certificate of Completion from IT Genius Institute. Each certificate carries its own number, and anyone holding that number can verify it online on our certificate page, so you can add it to your portfolio or pass it to HR as evidence of training.

Where does the training take place, and is there an online option?

You can attend onsite at IT Genius Institute or arrange to join online, and we also run it as a private in-house session for your team. Ask about dates and venues on LINE @itgenius or call 02-570-8449.

What if I fall behind or miss a session — can I retake it?

Yes. You may retake the same course free of charge in a later round, under the institute's conditions. Tell our team which course and round you attended, and we will check it and offer you the rounds that still have seats. Ask us on LINE @itgenius or call 02-570-8449.

How do I enrol, or request a quotation for my company?

Enrol online with the registration form on this page. You can register several attendees at once and enter your tax ID and billing address for the tax invoice. Or request a company quotation straight from the quote button. For anything else call 02-570-8449 or reach us on LINE @itgenius.