
In this assignment, create a Google Cloud Platform (GCP) account using your gmail.
Navigate to the Google BigQuery page
In this activity, upload the `customers`, `products` and `purchases` table into GCP.
In this activity, your work will be to display the data from the following tables using SELECT FROM.
The tables should be now saved in your BigQuery if you have followed the course so far.
customers
products
purchases
In this activity, do the following:
`WHERE` statement using a string (with kenya apartments data)
`WHERE` statement using a number (with kenya apartments data)
In this activity, use the AND operator to retrieve records matching the following statements:
String and another string - Extract apartments where the location is in "Nyali, Mombasa" and where rate is "Per Day"
String and another integer - Extract apartments where the location is in "Nyali, Mombasa" and where the price is 5000.
Integer with another integer - Extract apartments where the number of bedrooms and bathrooms is 3 each.
Use the OR operator to extract records with the following values:
location is in "Kileleshwa Nairobi, Kileleshwa, Nairobi" or "Westlands, Nairobi" or price is 200000
location is in "Kileleshwa, Nairobi" and has 5 bathrooms or location is in "Muthaiga, Nairobi" alone. Does a Kileleshwa apartment with 5 bathrooms exist?
extract apartments above a certain price using the >= operator.
extract apartments below a certain price using the <= operator.
You have worked with the 'products' table before in one of the exercises.
In this activity, use the SQL statement that leverages on the 'INFORMATION_SCHEMA' table to display the data types for each column in the 'products' table. Clue: the SQL statement is found in the previous video.
Remember to insert the correct path to your project id and dataset name!
In this exercise, you will use the customers dataset to search for the unique emails and city where the city matches "Los Angeles" or any word beginning with "Los". The key here is not to use the entire word of "Los Angeles" but just a subset of it, ie. "Los".
The query should display only TWO columns. That of the unique addresses and the city. Clue: Use the DISTINCT keyword to create a list of the unique email addresses.
Convert the current apartment prices to 1 decimal place.
Ask students to create a new column which demonstrates a combined application of multiplication, addition and division.
students to perform ceiling and flooring using the price column of the kenya apartments dataset
create two new columns based on number of bedrooms and bathrooms (first column) and price (second column)
The first column will check if the number of bedrooms and bathrooms is equal. If number of bathrooms is equal or greater than bedrooms, assign that as `individual bathroom`.
If number of bathrooms is less than bedrooms, assign that as `shared bathroom`
For the second column, if the price is above Ksh 100, 000 designate the apartment as ‘luxury’.
If the price is between Ksh 50, 000 - Ksh 100, 000 designate the apartment as ‘expensive’.
If the apartment is between Ksh 10, 000 - Ksh 50, 000 designate the apartment as ‘affordable’ and if the price is below Ksh 10, 000 designate as ‘student/leisure’.
perform INNER JOIN statement using the product_id from the `customers` table with the product_id in the `purchases` table.
perform LEFT JOIN statement using the product_id from the `customers` table with the product_id in the `purchases` table.
perform a RIGHT JOIN statement to join the `purchases` table to the `customers` table using the customer_id.
create a table that shows the actor, actor_ids and film_ids and the details of the movie they acted in. The tables to use are the `actor`, `film_actor` and `film` table.Use JOIN statements to do this in one query.
export the `purchases` table using SQL in GCP.
export the `products` table using SQL in GCP.
export the `customers` table using SQL in GCP.
perform the above one by one.
download the `purchases` table from GCP bucket
download the `products` table from GCP bucket
download the `customers` table from GCP bucket
create a table that shows the actor, actor_ids and film_ids and the details of the movie they acted in. The tables to use are the `actor`, `film_actor` and `film` table.
create a new column called `Producer` of type string. Tell students to fill in the `Producer` column with the name `Hollywood`.
Drop the table you created by joining the `actor`, `film_actor` and `film` tables
1. Requirements
No prior SQL or coding experience needed: You will start completely from scratch.
No software installation required: All you need is a standard web browser and a Gmail account to access Google Cloud.
2. Description
Welcome to End-to-End SQL using Google Cloud: The Ultimate SQL course in Google Cloud for the Busy Professional.
If you want to master SQL without getting bogged down by complicated, heavy local database installations, this is the course for you. Designed specifically for busy professionals, aspiring data analysts, and career switchers, this course takes you from an absolute beginner to confidently writing complex queries and managing cloud tables using Google BigQuery.
You will get hands-on experience across 11 comprehensive sections—moving smoothly from basic queries and logical filters to string manipulation, mathematical functions, advanced CASE WHEN conditional logic, powerful multi-table JOIN operations, and full cloud table management (creating, inserting, altering, dropping, and exporting data directly to Google Cloud Storage buckets).
3. Why SQL?
SQL (Structured Query Language) is the universal language of data and one of the most valuable skills in the modern job market. Whether you want to transition into data science, automate reports, or make data-driven business decisions, SQL gives you direct access to talk to databases. It allows you to filter, aggregate, and extract hidden insights from millions of rows of data with speed, accuracy, and absolute confidence.
4. Why Google Cloud?
Traditional SQL courses require frustrating, error-prone database installations on your local machine. By leveraging Google Cloud BigQuery, you harness an enterprise-grade cloud data platform straight from your browser. It requires zero configuration, scales effortlessly, processes massive datasets instantly, and allows you to practice like a modern cloud data professional using just your standard Gmail account.
5. Course Overview
This comprehensive, practice-driven course is structured into clear learning sections equipped with hands-on activities:
Getting Started & Cloud Setup: Set up your free Google Cloud account, navigate BigQuery, and successfully load your first tables into the cloud.
Core SQL Fundamentals: Master SELECT statements, query specific columns, and filter your data using WHERE clauses.
Filtering & Logic: Filter datasets dynamically using AND and OR logical operators.
Data Types & String Manipulation: Work seamlessly with strings (pattern matching with LIKE, case-insensitivity, uppercasing, and capitalization) and numbers (integers, floats, decimals, rounding, math calculations, ceiling/flooring).
Conditional Logic & Joins: Build complex conditional queries using single and multiple CASE WHEN statements, and combine data across multiple tables using INNER, LEFT, RIGHT, and multiple JOIN clauses.
Cloud Table Management & Exporting: Learn how to create, insert data into, alter, drop, download, and export tables directly to Google Cloud Buckets.
Wrap Up & Resources: Solidify your new skills with a complete course review and supplementary materials.
6. Who should enroll
Busy professionals looking to quickly add high-value data analytics skills to their resume without wasting time on complicated setup procedures.
Beginners with zero programming or database background who want a clear, step-by-step roadmap into data.
Marketers, product managers, business analysts, and operators who want to query company databases directly instead of relying on technical teams.
Anyone eager to gain practical, cloud-native experience using Google Cloud BigQuery.
7. Why choose this course?
Zero Installation Hassle: Run enterprise-grade queries directly in your browser through Google Cloud BigQuery.
Designed for Busy Schedules: Concise, focused lectures paired with practical activities to maximize your learning efficiency.
End-to-End Curriculum: Covers everything from your very first SELECT statement to advanced cloud table management and GCP bucket exports.
Learn by Doing: Every major concept is reinforced with dedicated hands-on activities to ensure real-world retention.
8. Who this course is for
Absolute beginners with no prior coding, database, or technical background.
Professionals, analysts, and entrepreneurs who want to master cloud-based data querying using Google Cloud.
Anyone eager to unlock high-demand career opportunities in data science, analytics, and cloud engineering.