sql
27 repositories
A huge, community-built bank of DevOps and SRE interview questions — This repository collects over 2,600 exercises and questions spanning Linux, Kubernetes, Terraform, networking, Git and more. Organized by topic with contributions accepted via pull request, it's aimed at people preparing for DevOps/SRE interviews or wanting to self-assess their knowledge, though it explicitly isn't meant to be studied end-to-end.
TiDB positions its distributed SQL database for unpredictable agentic workloads — TiDB is a MySQL-compatible, distributed SQL database combining ACID transactions, HTAP analytics and vector search in one engine. It scales horizontally without downtime and avoids data silos or noisy-neighbor issues, aimed at teams building AI agents that need memory, context and unpredictable scale.
Browser-based ERD editor with no account required — drawDB lets you design database schemas visually and generate or import SQL directly in the browser, without signing up. It supports multiple databases (PostgreSQL, MySQL, SQLite, Oracle, SQL Server), migrations, and an optional self-hosted server for sharing diagrams.
Turn any SQL database into instant APIs and an admin app — Directus wraps existing SQL databases (PostgreSQL, MySQL, SQLite, MSSQL, MariaDB) with instant REST and GraphQL APIs plus a customizable Vue-based admin app. It suits teams who want a headless CMS or no-code backend without migrating data into a proprietary store.
A multi-model database that merges SQL, NoSQL, and graph in one engine — SurrealDB combines document, graph, and relational data models with a SQL-like query language in a single distributed engine. It targets developers building realtime web apps who want backend-as-a-service style features without stitching together multiple databases, with official clients for Rust, JS, Python, .NET, and PHP.
A distributed SQL database built for resilience and scale — CockroachDB offers a strongly-consistent, horizontally scalable SQL database that survives disk, machine, rack, and datacenter failures without manual intervention. It suits teams building data-intensive applications who need SQL semantics with ACID transactions and automatic failover, either self-hosted or via CockroachCloud.
A Rust-built SQLite alternative that now speaks Postgres too — Turso is an in-process SQL database written in Rust, compatible with SQLite but adding an experimental Postgres frontend. It ships bindings for Rust, JS, Python, Java and .NET, making it useful for developers who want an embeddable database that can bridge SQLite and Postgres ecosystems.
A MySQL-compatible database with Git-style version control — Dolt is a SQL database you connect to like MySQL, but with full Git semantics: branch, merge, push, pull and commit data and schema. It's increasingly used for AI agent memory, especially in multi-agent, multi-machine setups where tracking changes to shared state matters.
Chat with your database or your datalake (SQL, CSV, parquet). PandasAI makes data analysis conversational using LLMs and RAG.
A Git-versioned semantic layer that lets AI agents write trusted SQL — WrenAI gives agents like Claude Code, Cursor and LangChain a governed semantic layer plus an AI context layer, encoding metric definitions, joins and business meaning as reviewable YAML/Markdown in your own repo. It connects to 22+ sources and turns natural-language questions into governed SQL and shareable dashboards, aimed at teams wanting AI-generated BI they can audit.
A type-safe TypeScript SQL query builder
A dialect-aware SQL linter built for ELT and dbt workflows — SQLFluff lints and auto-fixes SQL across many dialects (BigQuery, Snowflake, MySQL, etc.) and handles Jinja/dbt templated code. It targets ELT pipelines and dbt users who need consistent SQL style without manual cleanup, with a VS Code extension for editor integration.
A Rust query engine for building custom SQL and dataframe tools — DataFusion is an extensible SQL and dataframe query engine built on Apache Arrow, written in Rust with Python bindings. It targets developers building analytical databases, query engines or data pipelines who need a fast, embeddable OLAP core rather than a finished database.
BI as Code Meets AI Agents for Governed Analytics — Lightdash is an open-source BI platform built around a shared context layer that defines metrics, joins, and permissions once, then feeds dashboards, AI agents, data apps, and MCP. Teams manage analytics like software, with Git, CI, and CLI previews for changes, while business users query data in plain English without bypassing governance.
The migration toolkit built by SQLAlchemy's own author — Alembic generates version-controlled migration scripts for SQLAlchemy schemas, with upgrade/downgrade steps, transactional DDL support on databases like Postgres and SQL Server, and autogeneration from model changes. It favors minimalist one-line operations (alter_column, rename_table) over rebuilding full Table definitions, making it a practical fit for teams already using SQLAlchemy.
Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite, ClickHouse.
A Rust/GPUI database client built to replace bloated Electron tools — DBDelve is an early-stage, free database client built in Rust with GPUI instead of Electron or JVM, aiming for instant startup and smooth scrolling through million-row tables. It already supports Postgres, MySQL, MariaDB, SQLite, Snowflake, SQL Server, MongoDB, Redis and more, with theming from Catppuccin, Tokyo Night and others. Good fit for devs wanting a lightweight, non-paywalled alternative to heavier GUI clients.
Rust-native distributed SQL engine built on DataFusion, now with two execution modes — Ballista extends Apache DataFusion for distributed query execution, offered as a lighter Rust-native alternative to Spark, Trino and Presto. It now supports two modes sharing one cluster: a Spark-like staged mode with shuffle files and adaptive re-planning for batch/ETL, and an experimental pipelined mode streaming Arrow Flight for interactive queries.
Self-hosted agent that turns plain-English questions into SQL insights — nao is a self-hosted framework for building and deploying analytics agents. Data teams define context (data, metadata, docs, tools, MCPs) via the nao-core CLI, then expose a chat UI so business users can query warehouses like BigQuery, Snowflake or Databricks in plain English, with versioning and performance tracking.
A Reproducible, Multi-Engine Benchmark for Analytical Databases — ClickBench tests dozens of OLAP, OLTP, serverless, and specialized databases (including DuckDB, BigQuery, Snowflake, Doris, DataFusion, chDB) against a real anonymized web-analytics dataset. Results are reproducible in ~20 minutes via documented shell scripts, making it useful for anyone comparing analytical database performance before adopting one.
Python DB API driver for Snowflake reaches 5.0.0, then moves on — Version 5.0.0 marks the last release here: future development shifts to snowflakedb/drivers. The connector implements PEP 249 DB API 2.0 with no JDBC/ODBC dependency, letting Python apps query Snowflake directly on Linux, Mac, and Windows with Python 3.10+.
Dashboards as YAML, written for agents and audited by humans — dbt Charts (CLI `dct`) compiles declarative YAML board definitions, wrapped around SQL, into interactive dashboards. It targets the mess of vibe-coded dashboard stacks by giving AI agents a simple syntax to write and humans a clear artifact to audit, with a playground and MCP support for agent workflows.
An Android planner calendar app and a habit tracker that aims to simplify scheduling consistent activities and tracking your progress.
A tmux-style terminal database client with Vim keybindings for PostgreSQL, MySQL, SqlServer, Redis, and more.
A visual SQL workspace built on DuckDB with cell-level lineage — Duckpad is an open-source SQL workspace built on DuckDB that lets you compose data pipelines visually, explore results, and trace any result cell back to its source values. It adds Git-based versioning, repeatable Jobs, and a context-aware AI assistant, aimed at data engineers who want transparency and control over transformations.
Retrieval library for agents. Full-text, vector, graph, and SQL indexes, stored on Parquet.
A student portfolio that keeps data science claims honest — This Astro/TypeScript static site presents six reproducible public-data case studies spanning data engineering, geospatial analysis, forecasting, operations research, NLP and ML. It explicitly separates observed results from modeled scenarios and sources all displayed metrics from committed runs in linked repos, useful for anyone evaluating a data science student's work critically.