Open source sql projects

Every project in the registry tagged sql, ranked by real GitHub adoption.

projects 39 combined stars ★ 340K refresh nightly
01 duckdb ★ 43K

DuckDB is an analytical in-process SQL database management system

last push2 hours ago languageC++ licenseMIT
02 TimescaleDb ★ 24K

Time-series database built on top of PostgreSQL

last push3 hours ago languageC license—
03 Bitwarden ★ 21K

Secure password management for individuals and businesses

last push3 hours ago languageC# license—
04 knex ★ 20K

A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.

last push4 months ago languageJavaScript licenseMIT
05 rqlite ★ 18K

The lightweight, fault-tolerant database built on SQLite. Designed to keep your data highly available with minimal effort.

last push10 hours ago languageGo licenseMIT
06 sqlx ★ 18K

🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.

last push2 days ago languageRust licenseApache-2.0
07 mysql ★ 15K

Go MySQL Driver is a MySQL driver for Go's (golang) database/sql package

last push4 days ago languageGo licenseMPL-2.0
08 kysely ★ 14K

A type-safe TypeScript SQL query builder

last push14 hours ago languageTypeScript licenseMIT
09 citus ★ 13K

Distributed PostgreSQL as an extension

last push4 days ago languageC licenseAGPL-3.0
10 mycli ★ 12K

Rich MySQL Terminal Client with AutoCompletion, Syntax Highlighting, and Dataframes

last push12 hours ago languagePython licenseBSD-3-Clause
11 q ★ 10K

q - Run SQL directly on delimited files and multi-file sqlite databases

last push9 months ago languagePython licenseGPL-3.0
12 usql ★ 10K

Universal command-line interface for SQL databases

last push15 hours ago languageGo licenseMIT
13 sea-orm ★ 9.9K

🐚 A powerful relational ORM for Rust

last push4 days ago languageRust licenseApache-2.0
14 Databend ★ 9.5K

Cloud-native data warehouse for lightning-fast analytics

last push2 hours ago languageRust licenseApache-2.0
15 Yearning ★ 9.0K

🐳 A most popular sql audit platform for mysql

last push2 months ago languageGo licenseAGPL-3.0
16 GRDB.swift ★ 8.7K

A toolkit for SQLite databases, with a focus on application development

last push2 hours ago languageSwift licenseMIT
17 better-sqlite3 ★ 7.5K

The fastest and simplest library for SQLite3 in Node.js.

last push3 months ago languageJavaScript licenseMIT
18 toydb ★ 7.3K

Distributed SQL database in Rust, written as an educational project

last push1 months ago languageRust licenseApache-2.0
19 Evidence ★ 7.1K

Transform SQL into beautiful data stories

last push2 days ago languageTypeScript licenseMIT
20 JSqlParser ★ 6.0K

JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern

last push2 days ago languageJava licenseApache-2.0
21 pg ★ 5.8K

Golang ORM with focus on PostgreSQL features and performance

last push4 months ago languageGo licenseBSD-2-Clause
22 rainfrog ★ 5.4K

🐸 a database tool for the terminal

last push19 hours ago languageRust licenseMIT
23 bun ★ 5.0K

SQL-first Golang ORM

last push4 days ago languageGo licenseBSD-2-Clause
24 orientdb ★ 5.0K

OrientDB is the most versatile DBMS supporting Graph, Document, Reactive, Full-Text and Geospatial models in one Multi-Model product. OrientDB can run distribut

last push2 hours ago languageJava licenseApache-2.0
25 sqlit ★ 5.0K

A user friendly TUI for SQL databases. Written in python. Supports SQL server, Mysql, PostreSQL, SQLite, Turso and more.

last push6 days ago languagePython licenseMIT
26 Medoo ★ 4.9K

The lightweight PHP database framework to accelerate the development.

last push7 days ago languagePHP licenseMIT
27 orioledb ★ 4.3K

OrioleDB – building a modern cloud-native storage engine (... and solving some PostgreSQL wicked problems)

last push2 hours ago languageC licenseApache-2.0
28 dbtpl ★ 3.9K

Command line tool to generate idiomatic Go code for SQL databases supporting PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server

last push2 months ago languageGo licenseMIT
29 sqlmesh ★ 3.3K

Scalable and efficient data transformation framework - backwards compatible with dbt.

last push6 hours ago languagePython licenseApache-2.0
30 pg_activity ★ 3.1K

pg_activity is a top like application for PostgreSQL server activity monitoring.

last push1 months ago languagePython licensePostgreSQL
31 duckdb-wasm ★ 2.2K

WebAssembly version of DuckDB

last push11 hours ago languageTypeScript licenseMIT
32 bruin ★ 1.8K

Build data pipelines with SQL and Python, ingest data from different sources, add quality checks, and build end-to-end flows.

last push6 hours ago languageGo licenseApache-2.0
33 datalens ★ 1.7K

A modern, scalable analytics system

last push2 months ago languagePLpgSQL licenseApache-2.0
34 hue ★ 1.4K

Open source SQL Query Assistant service for Databases/Warehouses

last push8 hours ago languageJavaScript licenseApache-2.0
35 bigquery-utils ★ 1.3K

Useful scripts, udfs, views, and other utilities for migration and data warehouse operations in BigQuery.

last push4 months ago languageJupyter Notebook licenseApache-2.0
36 openhare ★ 817

AI-powered desktop SQL client. Cross-platform. Built with Flutter.

last push1 months ago languageDart licenseApache-2.0
37 DBAPI ★ 804

Build rest API with SQL in one minute

last push5 months ago languageVue licenseAGPL-3.0
38 metorikku ★ 589

A simplified, lightweight ETL Framework based on Apache Spark

last push2 months ago languageScala licenseMIT
39 graphqlite ★ 523

A SQLite extension that adds graph database capabilities with Cypher query language support and built-in graph algorithms.

last push9 hours ago languageC licenseMIT

Related tags

← all tags

Frequently asked questions

How many open source sql projects are there?

This registry tracks 39 projects tagged sql, with 339,749 GitHub stars between them. The most-adopted is duckdb at 42,747 stars.

Are these sql projects free to use?

Yes — 37 of the 39 carry an explicit open-source licence across 8 distinct licences, so there is no licence fee. Where a project also sells a hosted or enterprise version, the self-hosted path remains free.

Which sql project should I choose?

The list above is ranked by GitHub stars, but stars measure attention rather than fit. Check three things on each card: the licence (permissive versus copyleft), the language it is written in, and the last-push date — a high-star project that has not been pushed in a year is a liability.

Are these sql projects still maintained?

34 of the 39 were pushed in the last 90 days, and every card shows its exact last-push date so you can see the rest. Sort your shortlist by that date before committing to a migration.