SQLancer
🃏 Interactive Study Cards

Database Study Flashcards

100 interactive study cards across 10 database engines. Test core architecture, querying syntax, indexing, and interview concepts.

Select Database:
🐘 PostgreSQL Architecture

What is MVCC in PostgreSQL?

Click Card to Reveal Answer ↷
Answer PostgreSQL

Multi-Version Concurrency Control (MVCC) ensures data consistency by granting each transaction a snapshot of the database, allowing concurrent reads and writes without locking.

Click to Flip Back â†ķ
🐘 PostgreSQL Storage

What is the purpose of the Write-Ahead Log (WAL)?

Click Card to Reveal Answer ↷
Answer PostgreSQL

WAL records changes to disk before data pages are updated, ensuring durability and enabling point-in-time recovery (PITR) and replication.

Click to Flip Back â†ķ
🐘 PostgreSQL Data Types

How does JSONB differ from standard JSON in Postgres?

Click Card to Reveal Answer ↷
Answer PostgreSQL

JSONB stores data in a parsed binary format that supports indexing (GIN/GiST) and faster processing, whereas JSON stores exact unparsed text.

Click to Flip Back â†ķ
🐘 PostgreSQL Performance

What does the EXPLAIN ANALYZE statement do?

Click Card to Reveal Answer ↷
Answer PostgreSQL

EXPLAIN ANALYZE executes the query and provides the exact execution plan along with real execution time and row count statistics.

Click to Flip Back â†ķ
🐘 PostgreSQL Maintenance

What is the function of autovacuum?

Click Card to Reveal Answer ↷
Answer PostgreSQL

Autovacuum reclaims dead tuple storage left behind by UPDATEs and DELETEs, and updates planner statistics to maintain performance.

Click to Flip Back â†ķ
🐘 PostgreSQL Indexing

What is a GIN Index used for in Postgres?

Click Card to Reveal Answer ↷
Answer PostgreSQL

Generalized Inverted Index (GIN) is designed for composite items like JSONB documents, arrays, and full-text search documents.

Click to Flip Back â†ķ
🐘 PostgreSQL DML Syntax

What is the RETURNING clause in INSERT/UPDATE/DELETE?

Click Card to Reveal Answer ↷
Answer PostgreSQL

RETURNING allows DML statements to return modified or inserted row columns directly without issuing a separate SELECT query.

Click to Flip Back â†ķ
🐘 PostgreSQL Extensions

What is a Foreign Data Wrapper (FDW)?

Click Card to Reveal Answer ↷
Answer PostgreSQL

FDW allows PostgreSQL to query external datasets (like Remote Postgres, MySQL, Redis, or CSVs) as if they were local tables.

Click to Flip Back â†ķ
🐘 PostgreSQL AI & Vector

What is PG Vector used for?

Click Card to Reveal Answer ↷
Answer PostgreSQL

pgvector is an open-source vector similarity search extension for storing and searching high-dimensional AI vector embeddings in Postgres.

Click to Flip Back â†ķ
🐘 PostgreSQL Aggregations

How does STRING_AGG work in Postgres?

Click Card to Reveal Answer ↷
Answer PostgreSQL

STRING_AGG concatenates non-null text values from a set of rows into a single string separated by a specified delimiter.

Click to Flip Back â†ķ
🐎 MySQL Storage Engine

What is the default storage engine in MySQL?

Click Card to Reveal Answer ↷
Answer MySQL

InnoDB is the default storage engine, offering ACID transactions, foreign keys, and row-level locking.

Click to Flip Back â†ķ
🐎 MySQL Engine Types

What is the difference between InnoDB and MyISAM?

Click Card to Reveal Answer ↷
Answer MySQL

InnoDB supports transactions, row locking, and foreign keys. MyISAM supports table-level locking only and has no transaction support.

Click to Flip Back â†ķ
🐎 MySQL DML

How does ON DUPLICATE KEY UPDATE work in MySQL?

Click Card to Reveal Answer ↷
Answer MySQL

When an INSERT statement causes a primary or unique key duplicate, MySQL executes an UPDATE on the existing row instead.

Click to Flip Back â†ķ
🐎 MySQL Aggregations

What is GROUP_CONCAT used for?

Click Card to Reveal Answer ↷
Answer MySQL

GROUP_CONCAT aggregates multiple non-null row values into a single concatenated string per group.

Click to Flip Back â†ķ
🐎 MySQL Architecture

What is the function of the Redo Log in InnoDB?

Click Card to Reveal Answer ↷
Answer MySQL

The Redo Log records page changes to ensure crash recovery (durability) before changes are written to tablespace data files.

Click to Flip Back â†ķ
🐎 MySQL Performance

What does EXPLAIN in MySQL show?

Click Card to Reveal Answer ↷
Answer MySQL

EXPLAIN displays how MySQL executes a query, including key usage, join types (ALL, ref, eq_ref), and rows examined.

Click to Flip Back â†ķ
🐎 MySQL Data Types

How do AUTO_INCREMENT columns work?

Click Card to Reveal Answer ↷
Answer MySQL

AUTO_INCREMENT automatically generates sequential unique numeric keys for new table rows.

Click to Flip Back â†ķ
🐎 MySQL Replication

What is Master-Replica Replication in MySQL?

Click Card to Reveal Answer ↷
Answer MySQL

A topology where writes to a Primary database are recorded in binary logs (binlog) and replayed on Secondary replica instances.

Click to Flip Back â†ķ
🐎 MySQL Indexing

What is a Covering Index in MySQL?

Click Card to Reveal Answer ↷
Answer MySQL

An index that contains all columns required by a query, enabling MySQL to return results directly from the index without reading table pages.

Click to Flip Back â†ķ
🐎 MySQL Transactions

What is the default isolation level in InnoDB?

Click Card to Reveal Answer ↷
Answer MySQL

REPEATABLE READ is InnoDB's default isolation level, preventing non-repeatable reads using multi-versioning.

Click to Flip Back â†ķ
ðŸŠķ SQLite Architecture

What does 'serverless' mean in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

SQLite reads and writes directly to standard disk files without running a background server process daemon.

Click to Flip Back â†ķ
ðŸŠķ SQLite Storage

What is WAL mode in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

Write-Ahead Logging (WAL) allows concurrent readers while a write is occurring, improving concurrency and speed.

Click to Flip Back â†ķ
ðŸŠķ SQLite Data Types

How does dynamic typing work in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

Data types are associated with the stored values themselves rather than the declared column types (manifest typing).

Click to Flip Back â†ķ
ðŸŠķ SQLite Memory

What is an in-memory SQLite database?

Click Card to Reveal Answer ↷
Answer SQLite

A database created using ':memory:' as the filename, residing entirely in RAM and deleted upon connection close.

Click to Flip Back â†ķ
ðŸŠķ SQLite Introspection

What does PRAGMA table_info(tbl) do?

Click Card to Reveal Answer ↷
Answer SQLite

It returns metadata about table columns, data types, nullability, default values, and primary key flags.

Click to Flip Back â†ķ
ðŸŠķ SQLite Maintenance

What is VACUUM in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

VACUUM rebuilds the database file to reclaim unused space and defragment data pages.

Click to Flip Back â†ķ
ðŸŠķ SQLite Keys

How do AUTOINCREMENT primary keys work in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

AUTOINCREMENT ensures primary key IDs are strictly monotonically increasing and never reused.

Click to Flip Back â†ķ
ðŸŠķ SQLite Extensions

What is FTS5 in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

Full-Text Search 5 (FTS5) is a built-in virtual table module providing fast text search over text columns.

Click to Flip Back â†ķ
ðŸŠķ SQLite Virtual Tables

What is a Virtual Table in SQLite?

Click Card to Reveal Answer ↷
Answer SQLite

An object that presents an external data source (like CSV files or custom C code) as a SQLite table.

Click to Flip Back â†ķ
ðŸŠķ SQLite Strict Schema

What is the strict mode introduced in SQLite 3.37?

Click Card to Reveal Answer ↷
Answer SQLite

STRICT tables enforce rigid column data type checks, overriding default dynamic manifest typing.

Click to Flip Back â†ķ
ðŸ”ī Oracle Database Architecture

What is SGA in Oracle Architecture?

Click Card to Reveal Answer ↷
Answer Oracle Database

System Global Area (SGA) is the shared memory region containing data buffer cache, shared pool, and redo log buffer.

Click to Flip Back â†ķ
ðŸ”ī Oracle Database Memory

What is PGA in Oracle Database?

Click Card to Reveal Answer ↷
Answer Oracle Database

Program Global Area (PGA) is private memory allocated for each server process executing SQL operations.

Click to Flip Back â†ķ
ðŸ”ī Oracle Database Pagination

How does ROWNUM differ from FETCH FIRST in Oracle?

Click Card to Reveal Answer ↷
Answer Oracle Database

ROWNUM assigns row numbers during fetch, whereas FETCH FIRST N ROWS ONLY is standard ANSI pagination syntax.

Click to Flip Back â†ķ
ðŸ”ī Oracle Database Functions

What is NVL() in Oracle SQL?

Click Card to Reveal Answer ↷
Answer Oracle Database

NVL(expr1, expr2) replaces NULL with expr2 if expr1 evaluates to NULL.

Click to Flip Back â†ķ
ðŸ”ī Oracle Database Procedural SQL

What is PL/SQL?

Click Card to Reveal Answer ↷
Answer Oracle Database

Procedural Language/SQL (PL/SQL) is Oracle's extension providing procedural constructs like loops, variables, and exceptions.

Click to Flip Back â†ķ
ðŸ”ī Oracle Database Views

What is a Materialized View in Oracle?

Click Card to Reveal Answer ↷
Answer Oracle Database

A database object storing pre-computed query results that can be refreshed on demand or commit.

Click to Flip Back â†ķ
ðŸ”ī Oracle Database Recovery

What is Oracle Flashback Query?

Click Card to Reveal Answer ↷
Answer Oracle Database

Enables querying table data state as it existed at a past timestamp or SCN number.

Click to Flip Back â†ķ
ðŸ”ī Oracle Database Storage

What is a Table Space in Oracle?

Click Card to Reveal Answer ↷
Answer Oracle Database

Logical storage unit grouping physical data files (.dbf) containing tables and indexes.

Click to Flip Back â†ķ
ðŸ”ī Oracle Database Hierarchical SQL

What is CONNECT BY used for?

Click Card to Reveal Answer ↷
Answer Oracle Database

Hierarchical query clause used to traverse parent-child tree relationships in Oracle SQL.

Click to Flip Back â†ķ
ðŸ”ī Oracle Database Sequences

What is a Sequence in Oracle?

Click Card to Reveal Answer ↷
Answer Oracle Database

Database object that generates sequential unique integers (using NEXTVAL and CURRVAL).

Click to Flip Back â†ķ
ðŸ’ŧ Microsoft SQL Server Dialect

What is T-SQL?

Click Card to Reveal Answer ↷
Answer Microsoft SQL Server

Transact-SQL (T-SQL) is Microsoft's extension to SQL adding procedural variables, string functions, and control flow.

Click to Flip Back â†ķ
ðŸ’ŧ Microsoft SQL Server Queries

How does TOP (N) work in SQL Server?

Click Card to Reveal Answer ↷
Answer Microsoft SQL Server

TOP (N) limits the number of output rows returned by a SELECT query.

Click to Flip Back â†ķ
ðŸ’ŧ Microsoft SQL Server Temp Tables

What is the difference between #temp and ##temp tables?

Click Card to Reveal Answer ↷
Answer Microsoft SQL Server

Single hash (#temp) is visible only to the current session. Double hash (##temp) is global and visible to all sessions.

Click to Flip Back â†ķ
ðŸ’ŧ Microsoft SQL Server Joins

What is CROSS APPLY in T-SQL?

Click Card to Reveal Answer ↷
Answer Microsoft SQL Server

CROSS APPLY invokes a table-valued function or correlated subquery for each row returned by an outer table query.

Click to Flip Back â†ķ
ðŸ’ŧ Microsoft SQL Server Identity

How does IDENTITY(1,1) work?

Click Card to Reveal Answer ↷
Answer Microsoft SQL Server

IDENTITY automatically generates auto-incrementing integer key values for new records.

Click to Flip Back â†ķ
ðŸ’ŧ Microsoft SQL Server Administration

What is SQL Server Agent?

Click Card to Reveal Answer ↷
Answer Microsoft SQL Server

A background service that executes scheduled administrative tasks, jobs, and automated backups.

Click to Flip Back â†ķ
ðŸ’ŧ Microsoft SQL Server Functions

What is the difference between ISNULL and COALESCE?

Click Card to Reveal Answer ↷
Answer Microsoft SQL Server

ISNULL accepts two arguments and uses data type of first argument. COALESCE accepts multiple arguments and returns highest data type precedence.

Click to Flip Back â†ķ
ðŸ’ŧ Microsoft SQL Server Error Handling

What is TRY_CAST / TRY_CONVERT?

Click Card to Reveal Answer ↷
Answer Microsoft SQL Server

Converts data to specified type and returns NULL if conversion fails instead of throwing a runtime error.

Click to Flip Back â†ķ
ðŸ’ŧ Microsoft SQL Server Indexing

What is a Clustered Index in SQL Server?

Click Card to Reveal Answer ↷
Answer Microsoft SQL Server

Defines the physical storage order of data rows on disk (only one clustered index per table).

Click to Flip Back â†ķ
ðŸ’ŧ Microsoft SQL Server Aggregations

What is STRING_AGG in T-SQL?

Click Card to Reveal Answer ↷
Answer Microsoft SQL Server

Concatenates expression values with specified separator across dataset groups.

Click to Flip Back â†ķ
🍃 MongoDB Storage Format

What is BSON in MongoDB?

Click Card to Reveal Answer ↷
Answer MongoDB

Binary JSON (BSON) is the binary serialization format used to store documents and extend JSON with data types like Date and ObjectId.

Click to Flip Back â†ķ
🍃 MongoDB Data Types

What is an ObjectId?

Click Card to Reveal Answer ↷
Answer MongoDB

A 12-byte unique identifier generated automatically for document _id fields containing timestamp, machine, process, and counter bits.

Click to Flip Back â†ķ
🍃 MongoDB Aggregation

What is the Aggregation Pipeline?

Click Card to Reveal Answer ↷
Answer MongoDB

A multi-stage framework ($match, $group, $lookup, $unwind) for transforming and summarizing documents sequentially.

Click to Flip Back â†ķ
🍃 MongoDB Joins

How does $lookup work in MongoDB?

Click Card to Reveal Answer ↷
Answer MongoDB

It performs an equality left outer join to a collection in the same database to pull in related document arrays.

Click to Flip Back â†ķ
🍃 MongoDB High Availability

What is a Replica Set in MongoDB?

Click Card to Reveal Answer ↷
Answer MongoDB

A cluster of MongoDB servers maintaining identical data copies to ensure high availability and automatic failover.

Click to Flip Back â†ķ
🍃 MongoDB Scaling

What is Sharding in MongoDB?

Click Card to Reveal Answer ↷
Answer MongoDB

Horizontal scaling method partitioning document datasets across multiple server shards using a shard key.

Click to Flip Back â†ķ
🍃 MongoDB Indexing

What is a 2dsphere Index?

Click Card to Reveal Answer ↷
Answer MongoDB

An index supporting spatial queries over spherical geometry objects like points, lines, and polygons.

Click to Flip Back â†ķ
🍃 MongoDB Schema

What is Schema Validation in MongoDB?

Click Card to Reveal Answer ↷
Answer MongoDB

JSON Schema rules enforced during write operations to guarantee document structure integrity.

Click to Flip Back â†ķ
🍃 MongoDB Aggregation

What does the $unwind stage do?

Click Card to Reveal Answer ↷
Answer MongoDB

It deconstructs an array field from input documents to output a document for each element in the array.

Click to Flip Back â†ķ
🍃 MongoDB CRUD Operations

What is an Upsert in MongoDB?

Click Card to Reveal Answer ↷
Answer MongoDB

An update operation that updates matching documents or creates a new document if no match is found.

Click to Flip Back â†ķ
ðŸ”ī Redis Data Structures

What data structures does Redis support?

Click Card to Reveal Answer ↷
Answer Redis

Strings, Hashes, Lists, Sets, Sorted Sets (ZSet), Bitmaps, HyperLogLogs, Geospatial indexes, and Streams.

Click to Flip Back â†ķ
ðŸ”ī Redis Expiration

What is TTL in Redis?

Click Card to Reveal Answer ↷
Answer Redis

Time-To-Live (TTL) sets an automated expiration time after which Redis deletes the key from RAM.

Click to Flip Back â†ķ
ðŸ”ī Redis Persistence

How does Redis persistence work?

Click Card to Reveal Answer ↷
Answer Redis

Redis supports RDB (point-in-time snapshot files) and AOF (Append-Only File logging every write command).

Click to Flip Back â†ķ
ðŸ”ī Redis Messaging

What is Pub/Sub in Redis?

Click Card to Reveal Answer ↷
Answer Redis

A messaging pattern where publishers send messages to channels without knowing connected subscribers.

Click to Flip Back â†ķ
ðŸ”ī Redis Data Structures

What is a Sorted Set (ZSET)?

Click Card to Reveal Answer ↷
Answer Redis

A collection of unique strings where each element is associated with a floating-point score used for ordering.

Click to Flip Back â†ķ
ðŸ”ī Redis High Availability

What is Redis Sentinel?

Click Card to Reveal Answer ↷
Answer Redis

A system providing high availability, monitoring, notification, and automatic failover for Redis primary nodes.

Click to Flip Back â†ķ
ðŸ”ī Redis Clustering

What is Redis Cluster?

Click Card to Reveal Answer ↷
Answer Redis

Provides a way to run a Redis installation where data is automatically sharded across 16,384 hash slots.

Click to Flip Back â†ķ
ðŸ”ī Redis Performance

What is Pipeline execution in Redis?

Click Card to Reveal Answer ↷
Answer Redis

Sending multiple commands to the server without waiting for individual replies, reducing round-trip time (RTT).

Click to Flip Back â†ķ
ðŸ”ī Redis Memory Management

What is the LRU Eviction Policy?

Click Card to Reveal Answer ↷
Answer Redis

Least Recently Used (LRU) automatically evicts least recently accessed keys when RAM usage hits maxmemory limits.

Click to Flip Back â†ķ
ðŸ”ī Redis Scripting

How do Lua scripts execute in Redis?

Click Card to Reveal Answer ↷
Answer Redis

Lua scripts run atomically on the Redis server, guaranteeing no other command executes concurrently during script run.

Click to Flip Back â†ķ
❄ïļ Snowflake Architecture

What is the core architecture of Snowflake?

Click Card to Reveal Answer ↷
Answer Snowflake

Separation of Storage, Multi-Cluster Compute (Virtual Warehouses), and Cloud Services layer.

Click to Flip Back â†ķ
❄ïļ Snowflake Compute

What is a Virtual Warehouse?

Click Card to Reveal Answer ↷
Answer Snowflake

An independent CPU/RAM compute cluster used to execute SQL queries and DML operations.

Click to Flip Back â†ķ
❄ïļ Snowflake Storage

What is Micro-partitioning in Snowflake?

Click Card to Reveal Answer ↷
Answer Snowflake

Automatic contiguous 50MB-150MB compressed storage blocks formatted in columnar layout.

Click to Flip Back â†ķ
❄ïļ Snowflake SQL Extensions

What is the QUALIFY clause?

Click Card to Reveal Answer ↷
Answer Snowflake

QUALIFY filters window function results in a SELECT statement, eliminating subqueries.

Click to Flip Back â†ķ
❄ïļ Snowflake Features

What is Zero-Copy Cloning?

Click Card to Reveal Answer ↷
Answer Snowflake

Instantly creates a metadata copy of tables or databases without duplicating physical data storage.

Click to Flip Back â†ķ
❄ïļ Snowflake Data Recovery

What is Time Travel in Snowflake?

Click Card to Reveal Answer ↷
Answer Snowflake

Access historic table data state at any point within a configurable period (up to 90 days).

Click to Flip Back â†ķ
❄ïļ Snowflake Data Pipeline

What is Snowpipe?

Click Card to Reveal Answer ↷
Answer Snowflake

An automated continuous data ingestion service loading files as they land in S3/GCS stages.

Click to Flip Back â†ķ
❄ïļ Snowflake Data Types

What is VARIANT data type?

Click Card to Reveal Answer ↷
Answer Snowflake

A flexible semi-structured data type storing up to 16MB of JSON, Avro, ORC, or XML data.

Click to Flip Back â†ķ
❄ïļ Snowflake Performance

How does Clustering Key help queries?

Click Card to Reveal Answer ↷
Answer Snowflake

Organizes micro-partitions along specified columns to maximize partition pruning speed.

Click to Flip Back â†ķ
❄ïļ Snowflake Sharing

What is Data Sharing in Snowflake?

Click Card to Reveal Answer ↷
Answer Snowflake

Enables secure live data sharing across Snowflake accounts without copying physical files.

Click to Flip Back â†ķ
🍒 ClickHouse Table Engines

What is MergeTree in ClickHouse?

Click Card to Reveal Answer ↷
Answer ClickHouse

The default and most powerful table engine family, featuring primary key indexing, partition pruning, and background data merging.

Click to Flip Back â†ķ
🍒 ClickHouse Architecture

Why is ClickHouse column-oriented?

Click Card to Reveal Answer ↷
Answer ClickHouse

Columnar storage reads only queried columns from disk, dramatically accelerating analytical aggregation queries over billions of rows.

Click to Flip Back â†ķ
🍒 ClickHouse Indexing

How does Primary Key work in ClickHouse MergeTree?

Click Card to Reveal Answer ↷
Answer ClickHouse

Primary keys do not enforce row uniqueness; instead, they create a sparse index pointing to data mark ranges.

Click to Flip Back â†ķ
🍒 ClickHouse Engines

What is ReplacingMergeTree?

Click Card to Reveal Answer ↷
Answer ClickHouse

A table engine that asynchronously deduplicates rows matching the primary key in background merges.

Click to Flip Back â†ķ
🍒 ClickHouse Engines

What is SummingMergeTree?

Click Card to Reveal Answer ↷
Answer ClickHouse

A specialized table engine that automatically sums numeric columns sharing the same primary key during background merges.

Click to Flip Back â†ķ
🍒 ClickHouse Performance

What is vector execution in ClickHouse?

Click Card to Reveal Answer ↷
Answer ClickHouse

Processing data in memory blocks (vectors) using SIMD CPU instructions for high query execution performance.

Click to Flip Back â†ķ
🍒 ClickHouse Views

What is a Materialized View in ClickHouse?

Click Card to Reveal Answer ↷
Answer ClickHouse

Stores transformed rows continuously as data is inserted into the source table, avoiding query-time computation.

Click to Flip Back â†ķ
🍒 ClickHouse Array Functions

What does arrayJoin() do?

Click Card to Reveal Answer ↷
Answer ClickHouse

It expands array elements into individual result output rows, similar to MongoDB's $unwind.

Click to Flip Back â†ķ
🍒 ClickHouse Optimization

How does Partition Pruning work?

Click Card to Reveal Answer ↷
Answer ClickHouse

Skipping unneeded data partition files based on WHERE conditions matching the PARTITION BY expression.

Click to Flip Back â†ķ
🍒 ClickHouse Introspection

What is the system.parts table?

Click Card to Reveal Answer ↷
Answer ClickHouse

A system catalog table providing metrics about physical MergeTree table parts, sizes, and row counts.

Click to Flip Back â†ķ
ðŸĶ† DuckDB Overview

What is DuckDB?

Click Card to Reveal Answer ↷
Answer DuckDB

An embedded columnar analytical database engine (often called the SQLite for Analytics).

Click to Flip Back â†ķ
ðŸĶ† DuckDB Engine

What is vectorized execution in DuckDB?

Click Card to Reveal Answer ↷
Answer DuckDB

Queries process vectors of data values in CPU cache lines using SIMD instructions for maximum throughput.

Click to Flip Back â†ķ
ðŸĶ† DuckDB File Access

Can DuckDB read Parquet files directly?

Click Card to Reveal Answer ↷
Answer DuckDB

Yes, DuckDB can execute SQL queries directly against local or remote Parquet and CSV files without importing them into tables.

Click to Flip Back â†ķ
ðŸĶ† DuckDB Ecosystem

How does DuckDB integrate with Python Pandas/Polars?

Click Card to Reveal Answer ↷
Answer DuckDB

DuckDB can query Pandas DataFrames, Polars DataFrames, and Arrow tables directly zero-copy.

Click to Flip Back â†ķ
ðŸĶ† DuckDB SQL Extensions

Does DuckDB support the QUALIFY clause?

Click Card to Reveal Answer ↷
Answer DuckDB

Yes, DuckDB supports Snowflake-style QUALIFY clauses to filter window function outputs directly.

Click to Flip Back â†ķ
ðŸĶ† DuckDB Concurrency

Is DuckDB single-threaded or multi-threaded?

Click Card to Reveal Answer ↷
Answer DuckDB

DuckDB automatically parallelizes query execution across all available CPU cores.

Click to Flip Back â†ķ
ðŸĶ† DuckDB Cloud Access

What is read_parquet('s3://...')?

Click Card to Reveal Answer ↷
Answer DuckDB

A function allowing direct HTTP/S3 querying of remote Parquet data lakes.

Click to Flip Back â†ķ
ðŸĶ† DuckDB Memory Management

How does DuckDB handle memory limits?

Click Card to Reveal Answer ↷
Answer DuckDB

DuckDB gracefully spills intermediate data to disk when query memory usage exceeds RAM limits.

Click to Flip Back â†ķ
ðŸĶ† DuckDB Export

What is COPY TO in DuckDB?

Click Card to Reveal Answer ↷
Answer DuckDB

Exports query results directly into Parquet, CSV, or JSON files on disk.

Click to Flip Back â†ķ
ðŸĶ† DuckDB Transactions

Does DuckDB support ACID transactions?

Click Card to Reveal Answer ↷
Answer DuckDB

Yes, DuckDB features full ACID transactional semantics using Multi-Version Concurrency Control (MVCC).

Click to Flip Back â†ķ