Start with a story: ShopKart grows up
ShopKart is a small online shop in India that sells electronics, fashion and home goods to customers in Kolkata, Mumbai, Delhi, Bengaluru and Pune. It's the same shop you met in our SQL, Python and Databricks courses.
At first, the team answered questions straight from the app's PostgreSQL database. Then three things happened:
- Reports got slow. A “revenue by city for the year” query made the app itself slow for real customers. 🐢
- Data came from more places: the app, the payment company, website clicks, a supplier's CSV files.
- More people wanted answers: finance, marketing, the founders, and soon an AI model.
ShopKart needs one place where all this data lives, cleaned up, that many people can query at once without slowing anything down. That place is a data warehouse, and Snowflake is one of the most popular ones.
Sources
App database, payments, clicks, supplier CSV files
Load
Files land in Snowflake (lesson 4)
Transform
SQL turns raw data into clean tables
Use
Dashboards, reports, data science, AI
What makes Snowflake different
Older warehouses ran on a fixed set of servers in your own data centre. When the finance team ran a huge report at month end, everybody else waited. Adding power meant buying hardware. Snowflake, launched in 2014 and built only for the cloud, changed that with one big idea:
Storage
Your tables, kept once
Compressed, columnar files
Managed by Snowflake in cloud storage (S3, Azure Blob, Google Cloud Storage)
Paid per TB per month
Roughly what the cloud charges for storage
Compute: virtual warehouses
As many as you need
ETL warehouse
Loads and transforms data at night
BI warehouse
Runs dashboards for the team
Data science warehouse
Big experiments, without slowing anyone else
Because of that idea, you get:
| Feature | What it means for ShopKart |
|---|---|
| Pay per second | A warehouse costs credits only while it runs. It pauses itself when idle (AUTO_SUSPEND) and wakes up for the next query. |
| Resize in one line | Month-end report too slow? Make the warehouse bigger for an hour, then shrink it back. |
| No fighting for power | The nightly load and the founders' dashboard use different warehouses, so neither slows the other. |
| Nothing to manage | No indexes to build, no disks, no upgrades. Snowflake handles storage layout, backups and patches. |
| Any cloud | Runs on AWS, Azure and Google Cloud, in many regions, including Mumbai. |
| Sharing | Give a partner live, read-only access to a table without copying files (Secure Data Sharing). |
Your first query (real output)
Every Snowflake account comes with free sample data in a database called SNOWFLAKE_SAMPLE_DATA. It holds a made-up company's orders, customers and parts (the TPC-H benchmark data). We opened a SQL file in Snowsight, Snowflake's website, and ran this:
-- Snowflake's free sample data: a made-up company's sales.
-- How many order lines are there?
SELECT COUNT(*) AS line_items
FROM snowflake_sample_data.tpch_sf1.lineitem;| LINE_ITEMS |
|---|
| 6001215 |
Six million rows, counted in well under a second, and we didn't set anything up: no server, no index. Notice the name has three parts: database.schema.table. You'll use that a lot.
-- Customers per market segment
SELECT c_mktsegment AS segment, COUNT(*) AS customers
FROM snowflake_sample_data.tpch_sf1.customer
GROUP BY c_mktsegment
ORDER BY customers DESC;| SEGMENT | CUSTOMERS |
|---|---|
| HOUSEHOLD | 30189 |
| BUILDING | 30142 |
| FURNITURE | 29968 |
| MACHINERY | 29949 |
| AUTOMOBILE | 29752 |
It's the same SQL you already know. That's a big reason teams like Snowflake: analysts are productive on day one.
Warehouse vs lake vs lakehouse, in one table
You'll hear these words in every interview. Snowflake started as a warehouse and now works with lake files too.
| Data warehouse | Data lake | Lakehouse | |
|---|---|---|---|
| What it stores | Clean tables | Any files (CSV, JSON, Parquet, images) | Open-format tables on lake files |
| Best at | Fast SQL for reports | Cheap storage of everything | Both, on one copy of the data |
| Examples | Snowflake, BigQuery, Redshift | Amazon S3, Azure Data Lake Storage | Databricks + Delta Lake, Snowflake + Apache Iceberg tables |
Snowflake also supports Apache Iceberg tables: tables stored as open files in your cloud storage that Snowflake and other engines (Spark, Trino) can all read. You'll see why that matters later in the course.
Snowflake vs Databricks vs the others
| Snowflake | Databricks | BigQuery (Google) | Redshift (AWS) | |
|---|---|---|---|---|
| Main language | SQL (plus Python with Snowpark) | Python/PySpark and SQL | SQL | SQL |
| Clouds | AWS, Azure, Google Cloud | AWS, Azure, Google Cloud | Google Cloud only | AWS only |
| How you pay | Credits per second per warehouse | DBUs per second per cluster | Per TB scanned, or reserved slots | Per node hour, or serverless |
| Admin work | Very little | Some (clusters, jobs) | Very little | More (sizing, vacuum) |
| Strongest at | Easy, fast SQL analytics; sharing | Big processing, streaming, ML | Serverless SQL on Google Cloud | AWS-native warehousing |
Editions and the free trial
Snowflake sells the same product in editions. Each adds features (and costs more per credit):
| Edition | Adds |
|---|---|
| Standard | Everything core: warehouses, loading, SQL, 1 day of Time Travel |
| Enterprise | Up to 90 days of Time Travel, multi-cluster warehouses, masking and row access policies |
| Business Critical | Extra security and compliance (for banks, healthcare), private connectivity |
| Virtual Private Snowflake | A completely separate Snowflake environment for one company |
What you'll build in this course
One running example from start to finish: ShopKart's order files go from your laptop to clean, secure, fast reports.
| Lessons | What you learn |
|---|---|
| 1–3 | What Snowflake is, how it works inside, setting up databases, roles and warehouses |
| 4–5 | Loading CSV and JSON files: stages, COPY INTO, VARIANT and FLATTEN |
| 6 | Time Travel, Fail-safe and zero-copy cloning: the undo button and instant test copies |
| 7–8 | Automatic pipelines: Snowpipe, streams, tasks and dynamic tables |
| 9–10 | Security (roles, masking) and making queries fast and cheap |
| 11–12 | Snowpark Python, then interview questions from fresher to 3+ years |
🎯 Interview questions on this topic
Try to answer out loud first, then tap to check.
Q1What is Snowflake?Fresher
Q2What does 'separation of storage and compute' mean and why does it matter?Fresher
Q3How is Snowflake billed?Fresher
Q4When would you NOT use Snowflake?1–3 yrs
Q5Snowflake vs Databricks?1–3 yrs
Key takeaways
- Snowflake is where ShopKart's scattered data becomes one fast, queryable place.
- Separate storage and compute is the idea everything else builds on.
- You pay per second of compute, so pausing warehouses matters.
- If you know SQL, you can use Snowflake today.
Frequently asked questions
What is Snowflake in simple words?
Snowflake is a cloud data warehouse: a place where a company keeps its data in tables and asks questions about it with SQL. You don't install or manage any servers. You load data, pick how much computing power you want, and pay only while queries run.
Is Snowflake a database?
Yes, a database built for analytics (OLAP). It is great at big questions over millions or billions of rows, like revenue per city per month. It is not meant to be the database behind an app that saves one order at a time; that job belongs to databases like PostgreSQL or MySQL.
Is Snowflake free?
There is a 30-day free trial with $400 of credits and no card needed, which is more than enough for this whole course. After that you pay for what you use: storage per terabyte per month, and compute per second while a warehouse runs.
Do I need to know SQL for Snowflake?
Yes, SQL is the main language. If you know SELECT, WHERE, GROUP BY and JOIN, you can follow this course. Our free SQL for Data Engineers course teaches all of that from zero.
Snowflake or Databricks: which should I learn?
Many companies use both. Snowflake is SQL-first and very easy to run; Databricks is Spark-first and strong for heavy processing, streaming and machine learning. Job posts in India ask for both. Learn whichever your target companies use; the ideas (ELT, medallion layers, cost control) carry over.
🧠 Quick check: What is Snowflake?
1. What kind of system is Snowflake?
2. What do you pay for when a virtual warehouse runs?
3. Snowflake's biggest design idea is...
4. Which question is a good fit for Snowflake?