SQL + Sheets — Putting It Together
The complete analyst workflow from database to spreadsheet to chart. This is literally your daily job.
~20 minutesWhat you need: Have both SQLiteOnline.com and Google Sheets open in separate tabs. This module connects what you have learned in Modules 1–3.
What you’ll do: You will run a SQL query with GROUP BY (a new keyword), copy the results into Google Sheets, calculate a percentage, and build a chart. That is the complete analyst workflow from start to finish.
SQL and spreadsheets are partners. They are not competing tools — they do different things.
SQL is for querying and filtering large datasets — asking the database specific questions and getting structured results. Spreadsheets are for presenting, calculating, formatting, and sharing those results with other people.
The real-world flow every entry-level analyst uses:
New SQL keyword today: GROUP BY
GROUP BY lets you aggregate data — grouping rows together and calculating totals, counts, or averages for each group. This is how you answer “total sales by region” or “number of orders by product.” It is one of the most used SQL features in real analyst work.
FROM orders
GROUP BY region
ORDER BY total_sales DESC;
“Show me total sales for each region, sorted from highest to lowest.”
This SQL → Sheets → Chart workflow is literally the daily workflow of most entry-level data analysts. You will do this every single day in a real job.
Getting comfortable with the flow — not just the individual tools — is what makes you employable. Employers do not just want someone who knows SQL OR Sheets. They want someone who can move fluidly between them to produce usable results.
FROM demo
GROUP BY name
ORDER BY total DESC;
=B2/SUM($B$2:$B$10) (adjust the range for your actual data). Format that column as a percentage. This shows each name’s share of the total.
You connected two tools today. That is integration thinking — a genuinely high-level cognitive skill. Your brain just did a lot of work moving between contexts. That deserves a real pause.
Take at least 2 full minutes. Your brain needs it to consolidate what you just learned.
The ONE thing to remember from this module:
🏁 Phase 1 Complete
You completed all 4 modules of Data Foundations. You know what data analytics is, how to write SQL queries, how to clean messy data, and how to run the complete analyst workflow. Phase 2 is Visualization — turning your data into charts and dashboards with Tableau Public.