Guides

Practical SQL guides for local file analysis

Learn how to query CSV, JSON, and Parquet files with SQL in the browser. These guides focus on real file-analysis workflows, privacy-aware usage, DuckDB WASM, and reusable SQL examples.

CSV, JSON, ParquetLocal browser analysisSQL examples
Learn SQLUpdated 2026-05-09

Introduction to SQL: SELECT, Columns, Aliases, and Sorting Results

Your first SQL queries do not need to be complicated. Start with SELECT, choose the columns you need, name results clearly, and sort rows intentionally.

Read guide
Learn SQLUpdated 2026-05-09

SQL WHERE Clause Explained: Filtering Rows with AND, OR, and LIKE

Filtering is where SQL starts to feel useful: keep only the rows that answer your question, then combine conditions as your questions get sharper.

Read guide
Learn SQLUpdated 2026-05-09

SQL Aggregate Functions: COUNT, SUM, MIN, MAX, and AVG Explained

Aggregate functions turn many rows into useful summary values, which is the foundation of reporting, dashboards, and quick data checks.

Read guide
Learn SQLUpdated 2026-05-09

SQL DISTINCT, GROUP BY, and HAVING: From Unique Values to Grouped Reports

DISTINCT cleans up repeated values, GROUP BY creates summaries per category, and HAVING filters those summaries after aggregation.

Read guide
Learn SQLUpdated 2026-05-09

SQL Date Queries: Date Ranges, EXTRACT, and DATE_DIFF Explained

Date queries become much easier when you filter with clear ranges, extract useful parts, and calculate durations directly in SQL.

Read guide
Learn SQLUpdated 2026-05-09

SQL JOINs Explained: INNER, LEFT, FULL OUTER, SELF, and CROSS JOIN

JOINs bring related tables back together: matched rows, missing matches, hierarchies, and all-combination grids all use different JOIN patterns.

Read guide
Learn SQLUpdated 2026-05-09

SQL Window Functions Explained: OVER, PARTITION BY, Running Totals, and LAG

Window functions add context beside each row: totals, group totals, ranks, running totals, and previous values without losing detail.

Read guide
Learn SQLUpdated 2026-05-09

SQL Execution Order Explained: Why WHERE, GROUP BY, HAVING, SELECT, and LIMIT Behave Differently

SQL is written in one order but understood in another; learning the logical order explains many beginner surprises.

Read guide
Learn SQLUpdated 2026-05-09

Database Normalization Explained: Why Clean Tables Need Keys, JOINs, and Normal Forms

Normalization keeps each fact in the right place, reducing duplicated data and making updates, inserts, and deletes safer.

Read guide
Learn SQLUpdated 2026-05-09

SQL GROUPING SETS, ROLLUP, and CUBE Explained for Subtotals and Grand Totals

GROUPING SETS, ROLLUP, and CUBE help you build subtotal reports without stitching together many UNION ALL queries.

Read guide
Learn SQLUpdated 2026-05-09

DuckDB SQL UNNEST Explained: Lists, Structs, Recursive Flattening, and max_depth

UNNEST is the bridge from nested data to queryable rows and columns, especially when working with JSON-like lists and structs.

Read guide
Learn SQLUpdated 2026-05-09

DuckDB Array Lambda Functions: list_transform, list_filter, and list_reduce Explained

DuckDB list lambdas let you map, filter, and reduce arrays inside SQL, creating compact pipelines for nested list data.

Read guide
Learn SQLUpdated 2026-05-09

What Is a Database Table? Rows, Columns, and the Mental Model Behind SQL

Before SQL feels natural, you need one simple mental model: tables are structured collections of records with predictable columns.

Read guide
Learn SQLUpdated 2026-05-09

SQL Data Types Explained: Text, Numbers, Dates, and Better Questions

Data types are the reason SQL knows the difference between a name, a salary, and a hire date — and that difference shapes every query you write.

Read guide
Learn SQLUpdated 2026-05-09

SQL NULL Explained: How Missing Values Work and Why They Matter

NULL is SQL's way of saying a value is missing or unknown — and it behaves differently from almost every other value beginners expect.

Read guide
CSV analysisUpdated 2026-05-02

How to Query CSV Files with SQL in Your Browser

Use SQL for Files as a local CSV analysis workspace: add a file, inspect the generated table, write SQL, and export the rows you need.

Read guide
JSON analysisUpdated 2026-05-02

How to Analyze JSON Files Locally with SQL

Load JSON or NDJSON into a local DuckDB table, then use SQL to inspect records, filter fields, and work with nested values.

Read guide
Parquet analysisUpdated 2026-05-02

How to Query Parquet Files in the Browser

Use browser-based DuckDB to inspect Parquet files, run fast analytical queries, and export compact results without a local database install.

Read guide
SQL examplesUpdated 2026-05-02

Practical SQL Examples for CSV, JSON, and Parquet Files

A compact collection of SQL patterns you can adapt for local file analysis in SQL for Files.

Read guide
DuckDB WASMUpdated 2026-05-02

What Is DuckDB WASM and Why Use It for Browser SQL?

DuckDB WASM brings an analytical SQL engine into the browser, enabling local file analysis without a server-side database.

Read guide
PrivacyUpdated 2026-05-02

Private Local Data Analysis in the Browser

Understand the local processing model behind SQL for Files and how to work safely with sensitive CSV, JSON, and Parquet files.

Read guide