Top SQL repositories

Repositories with the GitHub topic “sql”: 100 repositories with 1.7M stars between them, mostly written in Python, Go and Java. The highest-rated is bregman-arie/devops-exercises, #253 on the bestofgithub Elo ladder.

Biggest movers this week

pressly/goose

Open on GitHubGo

A database migration tool. Supports SQL migrations and Go functions.

  • 1,568+17 Elo, change today
  • 11.6k stars
  • 764 forks
git
git clone https://github.com/pressly/goose.git
  • database
  • database-migrations
  • go
  • golang

TableProApp/TablePro

Open on GitHubSwift

Free, open-source native database client for macOS, Linux, iPhone and iPad.

  • 1,536+1 Elo, change today
  • 6.4k stars
  • 440 forks
git
git clone https://github.com/TableProApp/TablePro.git
  • clickhouse
  • database
  • database-client
  • database-gui

Leantime/leantime

Open on GitHubPHP

Leantime is a goals focused project management system for non-project managers. Building with ADHD, Autism, and dyslexia in mind.

  • 1,702+3 Elo, change today
  • 12.1k stars
  • 1.1k forks
  • 79 watchers
git
git clone https://github.com/Leantime/leantime.git
  • agile
  • asana
  • calendar
  • clickup

mouredev/hello-sql

Open on GitHubPython

Curso para aprender los fundamentos del lenguaje SQL y bases de datos relacionales desde cero y para principiantes.

  • 1,569+10 Elo, change today
  • 10.5k stars
  • 733 forks
git
git clone https://github.com/mouredev/hello-sql.git
  • basesdedatos
  • curso
  • database
  • mysql

Canner/WrenAI

Open on GitHubPython

GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language questions into trusted dashboards, charts, and SQL across 20+ data sources, such as BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks and more.

  • 1,830+27 Elo, change today
  • 18.2k stars
  • 2.1k forks
  • 102 watchers
git
git clone https://github.com/Canner/WrenAI.git
  • ai-agents
  • bigquery
  • business-intelligence
  • charts

golang-migrate/migrate

Open on GitHubGo

Database migrations. CLI and Golang library.

  • 1,615+1 Elo, change today
  • 19k stars
  • 1.6k forks
git
git clone https://github.com/golang-migrate/migrate.git
  • aws-s3
  • cassandra
  • database
  • databases

Top 100 on the Elo ladder

  1. #253
    bregman-arie/devops-exercises

    Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform, OpenStack, SQL, NoSQL…

    2,094 Elo −7686.8kPython
  2. #556
    ClickHouse/ClickHouse

    ClickHouse® is a real-time analytics database management system

    1,955 Elo −3150.9kC++
  3. #561
    duckdb/duckdb

    In-process analytical SQL database: SQLite for analytics, with fast queries over Parquet and CSV.

    1,952 Elo −3143kC++
  4. #581
    DataExpert-io/data-engineer-handbook

    This is a repo with links to everything you'd ever want to learn about data engineering

    1,945 Elo −1645.1kJupyter Notebook
  5. #662
    apache/spark

    Apache Spark - A unified analytics engine for large-scale data processing

    1,925 Elo 44.5kScala
  6. #868
    dbeaver/dbeaver

    Free universal database tool and SQL client

    1,881 Elo −2952.4kJava
  7. #1,154
    directus/directus

    The flexible backend for all your projects 🐰 Turn your DB into a headless CMS, admin panels, or apps with a custom UI…

    1,834 Elo −1338.7kTypeScript
  8. #1,173
    Canner/WrenAI

    GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns…

    1,830 Elo +5918.2kPython
  9. #1,262
    forthespada/CS-Books

    🔥🔥超过1000本的计算机经典书籍、个人笔记资料以及本人在各平台发表文章中所涉及的资源等。书籍资源包括C/C++、Java、Python、Go语言、数据结构与算法、操作系统、后端架构、计算机系统知识、数据库、计算机网络、设计模式、前端、汇编…

    1,819 Elo −9128k
  10. #1,285
    drawdb-io/drawdb

    Free, simple, and intuitive online database diagram editor and SQL generator.

    1,815 Elo −5840.3kJavaScript
  11. #1,466
    tursodatabase/turso

    A SQL database in Rust: SQLite-compatible, now also speaking Postgres (experimental). The LLVM of databases.

    1,789 Elo −225.2kRust
  12. #1,503
    marimo-team/marimo

    A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app…

    1,784 Elo +1123.5kPython
  13. #1,646
    apache/flink

    Apache Flink

    1,767 Elo −3526.4kJava
  14. #1,657
    1,766 Elo −2436.2kTypeScript
  15. #1,776
    dolthub/dolt

    Dolt – Git for Data

    1,752 Elo +2724.9kGo
  16. #1,788
    pingcap/tidb

    TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions…

    1,751 Elo −6540.7kGo
  17. #1,862
    bitwarden/server

    Bitwarden infrastructure/backend (API, database, Docker, etc).

    1,743 Elo −2420.6kC#
  18. #1,864
    osquery/osquery

    SQL powered operating system instrumentation, monitoring, and analytics.

    1,742 Elo +323.7kC++
  19. #1,957
    cube-js/cube

    📊 Cube Core is open-source semantic layer for AI, BI and embedded analytics

    1,732 Elo −2921.2kRust
  20. #2,129
    beekeeper-studio/beekeeper-studio

    Modern and easy to use database GUI & SQL client for MySQL, Postgres, SQLite, SQL Server, ClickHouse, and more. Linux…

    1,713 Elo −1423.8kTypeScript
  21. #2,233
    cockroachdb/cockroach

    CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control…

    1,702 Elo −7332.6kGo
  22. #2,235
    Leantime/leantime

    Leantime is a goals focused project management system for non-project managers. Building with ADHD, Autism, and…

    1,702 Elo +6312.1kPHP
  23. #2,317
    fastapi/sqlmodel

    SQL databases in Python, designed for simplicity, compatibility, and robustness.

    1,694 Elo +2818.6kPython
  24. #2,356
    trinodb/trino

    Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL…

    1,690 Elo +1013.5kJava
  25. #2,370
    timescale/timescaledb

    A time-series database for high-performance real-time analytics packaged as a Postgres extension

    1,689 Elo +923.8kC
  26. #2,511
    chartdb/chartdb

    Database diagrams editor that allows you to visualize and design your DB with a single query.

    1,674 Elo +323.1kTypeScript
  27. #2,534
    apache/doris

    Apache Doris is a real-time analytics and hybrid search database for AI agents.

    1,673 Elo +916.2kJava
  28. #2,658
    transact-rs/sqlx

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

    1,663 Elo +2317.6kRust
  29. #2,759
    sequelize/sequelize

    Feature-rich ORM for modern Node.js and TypeScript, it supports PostgreSQL (with JSON and JSONB support), MySQL…

    1,655 Elo −8430.3kTypeScript
  30. #2,915
    MariaDB/server

    MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team…

    1,643 Elo +298.5kC++
  31. #2,968
    surrealdb/surrealdb

    Multi-model database for documents, graphs and real-time queries, embedded or distributed.

    1,639 Elo −2533.3kRust
  32. #3,090
    sqlc-dev/sqlc

    Generate type-safe code from SQL

    1,630 Elo +4518.4kGo
  33. #3,260
    questdb/questdb

    QuestDB is a high performance, open-source, time-series database

    1,620 Elo +217.5kJava
  34. #3,278
    mybatis/mybatis-3

    MyBatis SQL mapper framework for Java

    1,618 Elo −9420.4kJava
  35. #3,309
    apache/datafusion

    Apache DataFusion SQL Query Engine

    1,616 Elo +199.5kRust
  36. #3,319
    taosdata/TDengine

    High-performance, scalable time-series database designed for Industrial IoT (IIoT) scenarios

    1,616 Elo −3525.1kC
  37. #3,337
    golang-migrate/migrate

    Database migrations. CLI and Golang library.

    1,615 Elo +5319kGo
  38. #3,397
    rqlite/rqlite

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

    1,611 Elo +717.9kGo
  39. #3,431
    sinaptik-ai/pandas-ai

    Chat with your database or your datalake (SQL, CSV, parquet). PandasAI makes data analysis conversational using LLMs…

    1,609 Elo −4023.9kPython
  40. #3,583
    apache/shardingsphere

    Empowering Data Intelligence with Distributed SQL for Sharding, Scalability, and Security Across All Databases.

    1,600 Elo +1020.8kJava
  41. #3,587
    simonw/datasette

    An open source multi-tool for exploring and publishing data

    1,599 Elo +4211.5kPython
  42. #3,665
    cloudnative-pg/cloudnative-pg

    The most popular Kubernetes Operator for PostgreSQL.

    1,594 Elo +359.5kGo
  43. #3,709
    OtterMind/Chat2DB

    Chat2DB is a free, cross-platform, local-first database client and SQL workspace for developers, DBAs, analysts, and…

    1,591 Elo −1628.3kJava
  44. #3,743
    DapperLib/Dapper

    Dapper - a simple object mapper for .Net

    1,589 Elo −3318.4kC#
  45. #3,755
    PostgREST/postgrest

    REST API for any Postgres database

    1,588 Elo +1927.7kHaskell
  46. #3,851
    tobymao/sqlglot

    Python SQL Parser and Transpiler

    1,582 Elo +399.7kPython
  47. #3,862
    gyoogle/tech-interview-for-developer

    👶🏻 신입 개발자 전공 지식 & 기술 면접 백과사전 📖

    1,581 Elo +717.6kJava
  48. #3,875
    prestodb/presto

    The official home of the Presto distributed SQL query engine for big data

    1,581 Elo −6516.7kJava
  49. #3,954
    StarRocks/starrocks

    The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility…

    1,576 Elo +1512.2kJava
  50. #4,072
    mouredev/hello-sql

    Curso para aprender los fundamentos del lenguaje SQL y bases de datos relacionales desde cero y para principiantes.

    1,569 Elo +6210.5kPython
  51. #4,099
    pressly/goose

    A database migration tool. Supports SQL migrations and Go functions.

    1,568 Elo +7311.6kGo
  52. #4,336
    sqlalchemy/sqlalchemy

    The Database Toolkit for Python

    1,554 Elo +3112.2kPython
  53. #4,445
    knex/knex

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

    1,548 Elo −5920.3kJavaScript
  54. #4,660
    sqlfluff/sqlfluff

    A modular SQL linter and auto-formatter with support for multiple dialects and templated code.

    1,536 Elo +4810kPython
  55. #4,662
    TableProApp/TablePro

    Free, open-source native database client for macOS, Linux, iPhone and iPad.

    1,536 Elo +676.4kSwift
  56. #4,917
    apache/beam

    Apache Beam is a unified programming model for Batch and Streaming data processing.

    1,523 Elo −138.7kJava
  57. #4,965
    vanna-ai/vanna

    🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs using Agentic Retrieval 🔄.

    1,521 Elo −2023.8kPython
  58. #5,018
    yugabyte/yugabyte-db

    YugabyteDB - the cloud native distributed SQL database for mission-critical applications.

    1,519 Elo −5110.6kC
  59. #5,036
    kysely-org/kysely

    A type-safe TypeScript SQL query builder

    1,518 Elo +1814.3kTypeScript
  60. #5,117
    groue/GRDB.swift

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

    1,514 Elo +488.7kSwift
  61. #5,146
    AkashSingh3031/The-Complete-FAANG-Preparation

    Dive into this repository, a comprehensive resource covering Data Structures, Algorithms, 450 DSA by Love Babbar…

    1,512 Elo −3712.3kJupyter Notebook
  62. #5,158
    go-sql-driver/mysql

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

    1,512 Elo −315.2kGo
  63. #5,227
    flyway/flyway

    Flyway by Redgate • Database Migrations Made Easy.

    1,509 Elo −2610.2kJava
  64. #5,717
    SeaQL/sea-orm

    🐚 A powerful relational ORM for Rust

    1,487 Elo +319.9kRust
  65. #5,719
    pocoproject/poco

    The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications…

    1,486 Elo −109.4kC++
  66. #5,734
    citusdata/citus

    Distributed PostgreSQL as an extension

    1,486 Elo +1612.8kC
  67. #5,765
    bregman-arie/devops-resources

    DevOps resources - Linux, Jenkins, AWS, SRE, Prometheus, Docker, Python, Ansible, Git, Kubernetes, Terraform…

    1,484 Elo −69.7kGroovy
  68. #6,473
    microsoft/Mastering-GitHub-Copilot-for-Paired-Programming

    A multi-module course teaching everything you need to know about using GitHub Copilot as an AI Peer Programming…

    1,453 Elo −198.1kPython
  69. #6,531
    evidence-dev/evidence

    Business intelligence as code: build fast, interactive data visualizations in SQL and markdown

    1,451 Elo +357.1kTypeScript
  70. #6,646
    hibernate/hibernate-orm

    Idiomatic persistence for Java and relational databases

    1,447 Elo −96.4kJava
  71. #6,925
    bxcodec/go-clean-arch

    Go (Golang) Clean Architecture based on Reading Uncle Bob's Clean Architecture

    1,436 Elo −910.1kGo
  72. #7,019
    sql-js/sql.js

    A javascript library to run SQLite on the web.

    1,433 Elo +3213.6kJavaScript
  73. #7,080
    cookieY/Yearning

    🐳 A most popular sql audit platform for mysql

    1,430 Elo −228.9kGo
  74. #7,247
    mikro-orm/mikro-orm

    TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL…

    1,424 Elo −129.2kTypeScript
  75. #7,268
    mage-ai/mage-ai

    🧙 Build, run, and manage data pipelines for integrating and transforming data.

    1,423 Elo −118.8kPython
  76. #7,327
    databendlabs/databend

    Data Agent Ready Warehouse : One for Analytics, Search, AI, Python Sandbox. — rebuilt from scratch. Unified…

    1,420 Elo −99.4kRust
  77. #7,395
    dbcli/mycli

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

    1,418 Elo +1911.9kPython
  78. #7,758
    JetBrains/Exposed

    Kotlin SQL Framework

    1,404 Elo +59.3kKotlin
  79. #8,007
    xo/usql

    Universal command-line interface for SQL databases

    1,395 Elo −2010.1kGo
  80. #8,056
    PRQL/prql

    PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement

    1,394 Elo −310.9kRust
  81. #8,060
    dbgate/dbgate

    Database manager for MySQL, PostgreSQL, SQL Server, MongoDB, SQLite and others. Runs under Windows, Linux, Mac or as…

    1,393 Elo +177.3kJavaScript
  82. #8,094
    modin-project/modin

    Modin: Scale your Pandas workflows by changing a single line of code

    1,392 Elo −1010.3kPython
  83. #8,149
    XiaoMi/soar

    SQL Optimizer And Rewriter

    1,389 Elo −158.7kGo
  84. #8,159
    ibis-project/ibis

    the portable Python dataframe library

    1,389 Elo −26.7kPython
  85. #8,563
    HeidiSQL/HeidiSQL

    A lightweight client for managing MariaDB, MySQL, SQL Server, PostgreSQL, SQLite, Interbase and Firebird, written in…

    1,372 Elo +16.3kPascal
  86. #8,645
    WiseLibs/better-sqlite3

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

    1,369 Elo +137.5kJavaScript
  87. #8,724
    NLPchina/elasticsearch-sql

    Use SQL to query Elasticsearch

    1,365 Elo −87kJava
  88. #8,758
    manticoresoftware/manticoresearch

    Open-source search database for full-text, vector, and hybrid search with real-time indexing and SQL.

    1,363 Elo +2012kC++
  89. #8,811
    sqldelight/sqldelight

    SQLDelight - Generates typesafe Kotlin APIs from SQL

    1,360 Elo +156.9kKotlin
  90. #8,824
    jOOQ/jOOQ

    jOOQ is the best way to write SQL in Java

    1,360 Elo −106.8kJava
  91. #8,829
    harelba/q

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

    1,359 Elo −1910.3kPython
  92. #8,920
    codenotary/immudb

    immudb - immutable database based on zero trust, SQL/Key-Value/Document model, tamperproof, data change history

    1,355 Elo −159kGo
  93. #8,977
    MaterializeInc/materialize

    The live data layer for apps and AI agents. Create up-to-the-second views into your business, just using SQL

    1,352 Elo +246.4kRust
  94. #9,054
    microsoft/azuredatastudio

    Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises…

    1,347 Elo −167.6kTypeScript
  95. #9,090
    erikgrinaker/toydb

    Distributed SQL database in Rust, written as an educational project

    1,345 Elo −27.3kRust
  96. #9,284
    tconbeer/harlequin

    The SQL IDE for Your Terminal. Now with hsql, your agent's favorite sql client.

    1,334 Elo −26.5kPython
  97. #9,340
    cloudquery/cloudquery

    Data pipelines for cloud config and security data. Build cloud asset inventory, CSPM, FinOps, and vulnerability…

    1,330 Elo −146.5kGo
  98. #9,625
    kennethreitz/records

    SQL for Humans™

    1,304 Elo −167.2kPython
  99. #9,637
    postgresml/postgresml

    Postgres with GPUs for ML/AI apps.

    1,303 Elo −196.8kRust
  100. #9,734
    DATA-DOG/go-sqlmock

    Sql mock driver for golang to test database interactions

    1,289 Elo −96.5kGo