Modern Offline SQL: Window Functions, CTEs & JSONB
Supports ROW_NUMBER/RANK/DENSE_RANK/LAG/LEAD OVER(...), WITH RECURSIVE CTEs, RETURNING, UPSERT, -> and ->> JSON path queries, json_each(), and BM25 full-text search 100% offline.
Purpose-built for database engineers, data analysts, and SQL learners. Execute window functions, CTEs, JSONB & full-text search offline across 9 formatted output modes, inspect binary .db/.sqlite files in one tap, and import CSV/JSON datasets.
Query in-memory sandboxes or persistent multi-table database files with crisp tabular alignment.
Supports ROW_NUMBER/RANK/DENSE_RANK/LAG/LEAD OVER(...), WITH RECURSIVE CTEs, RETURNING, UPSERT, -> and ->> JSON path queries, json_each(), and BM25 full-text search 100% offline.
View results in CJK-aligned Unicode Box Grids (┌──┬──┐) by default, or switch via .mode to table, markdown, csv, tsv, json, line, list, or SQL insert statements — and export directly via .once.
Open any .db, .sqlite, .sqlite3, or .db3 file to inspect page metadata, tables, views, indexes, and full CREATE schemas immediately. Queries in the same folder auto-mount your existing database!
Import CSVs, TSVs, and JSON object arrays directly into auto-typed tables (.import --csv / --json), and leverage 60+ built-in SHA256, REGEXP_EXTRACT, MEDIAN, STDDEV, PERCENTILE, and UUID functions.
Write everyday AUTO_INCREMENT, SERIAL, ENUM, SHOW TABLES, DESCRIBE, and ILIKE queries locally without tedious rewrites, and prompt for live console values inside SQL via READ_STDIN().
Chain 01_schema.sql -> 02_seed.sql -> 03_report.sql automatically, or run MySQL 8.0 stored procedures (DELIMITER, CREATE PROCEDURE, CALL, JSON_TABLE) on the Cloud MySQL cluster.
Clean, script-driven database workflows that persist directly in your Android workspace.
Tap any local .db/.sqlite file to inspect its schema, or create a .sql script with offline AST SQL keyword/function completion and formatting.
Load CSV, TSV, or JSON datasets from your project folder into typed relational tables in a single command.
Inspect Unicode Box Grids, Markdown tables, or JSON output in the split-screen console, with live READ_STDIN() parameter prompts when needed.
Save updated .db files or .csv/.json reports straight to your project folder — ready to query from SuperCode's PHP PDO or Java JDBC workspaces!
SuperCode SQL IDE is a dedicated offline SQL query runner and database explorer for Android. It supports window functions, recursive CTEs, JSONB paths, full-text search, 60+ statistical and regex functions, 9 output formats (Box, Markdown, CSV, JSON), one-tap .db/.sqlite inspection, CSV/JSON imports, and Cloud MySQL 8.0.
| SQL Capability | SuperCode SQL Studio | Simple .db Table Viewers | Online SQL Fiddles |
|---|---|---|---|
| Offline SQL Engine | Window Functions + CTEs + JSONB + FTS Offline | Basic SELECT/gui browse only | Requires internet |
| Output & Export Modes | 9 Modes (Box, Markdown, CSV, JSON, INSERT...) | Fixed GUI grid only | Web HTML table only |
| Data Import & Sync | CSV, TSV & JSON Array Import + Workspace Sync | Paid pro feature or missing | Manual INSERT paste |
| MySQL Compatibility | Local DDL Compat + Cloud MySQL 8.0 Procedures | Strict SQLite syntax only | Ephemeral session |
| Full-Stack Integration | Shares .db files with Local PHP PDO & Java JDBC | Isolated viewer app | Isolated browser tab |
Answers on offline SQL practice, opening .db/.sqlite files, CSV/JSON imports, and MySQL syntax.
Master offline .db/.sqlite inspection, Window Functions & FTS5 search, MySQL/PostgreSQL syntax, polyglot SQLite integration, and BoringSSL crypto UDFs, ICU regex & multi-file .read/ATTACH scripts.
Open binary .db, .sqlite, and .sqlite3 files in one tap, auto-import CSV/TSV/JSON datasets, and export queries across 9 formatted .mode styles.
Practice modern analytical SQL offline: LAG/DENSE_RANK window frames, recursive CTEs, JSONB ->> paths, BM25 FTS5 search, and MEDIAN/STDDEV.
Run everyday MySQL/Postgres DDL (SHOW TABLES, DESCRIBE, SERIAL, ILIKE, SHA256, REGEXP) offline, plus Cloud MySQL 8.0 Stored Procedures.
Design schemas in SQL Studio, then query the exact same local .db file from Python sqlite3, PHP 8.2 PDO, Java 17 JDBC, and Lua lsqlite3!
Run hardware-backed SHA-256/HMAC crypto UDFs, ICU REGEXP_REPLACE/REGEXP_EXTRACT, multi-DB ATTACH DATABASE pipelines, and nested .read SQL scripts 100% offline on Android.