SuperCode IDE
4.9 ★ DEDICATED OFFLINE SQL IDE & .DB EXPLORER

Run Modern SQL & Inspect .db Databases Offline on Android.

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.

9Modes
Box / MD / CSV / JSON
.db
1-Tap DB Inspector
60+
Crypto/Regex/Stats
MySQL8
Cloud Procedures
01 INTERACTIVE OFFLINE SQL & DATABASE WORKBENCH
Window Functions · JSON & Full-Text Search · .db Explorer · CSV/JSON Import
sql-database-studio/analytics.sql — Window Functions & CTEs
Interactive Console Output
Ready
SQL Studio · 9 Output Modes
UTF-8 LF Ln 4, Col 1
02 CORE CAPABILITIES

Desktop-Class SQL Analytics, File Inspection & Dialect Flexibility

Query in-memory sandboxes or persistent multi-table database files with crisp tabular alignment.

02.1

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.

Window Functions · Recursive CTEs · JSONB & FTS
02.2

9 Result Rendering Modes & Export Pipelines

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.

box · markdown · csv · json · table · insert
02.3

One-Tap .db / .sqlite Inspector & Auto-Mount

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!

.db / .sqlite3 Direct Open · ATTACH DATABASE
02.4

CSV / TSV / JSON Import & 60+ Analytical Functions

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.

.import CSV/JSON · SHA256 · REGEXP · MEDIAN/STDDEV
02.5

MySQL / PostgreSQL Syntax Compatibility & READ_STDIN()

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().

SHOW TABLES / DESCRIBE · Interactive READ_STDIN()
02.6

Multi-File SQL Pipelines & Cloud MySQL 8.0

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.

Multi-File Topological Run · Cloud MySQL 8.0
Built for Phones, Foldables & Tablets · Lightweight 45 MB Overview
03 STEP-BY-STEP WORKFLOW

How to Query Databases & Import Datasets in SuperCode

Clean, script-driven database workflows that persist directly in your Android workspace.

STEP 01 query.sql or app.db

Open a .db Database or Create a .sql Script

Tap any local .db/.sqlite file to inspect its schema, or create a .sql script with offline AST SQL keyword/function completion and formatting.

STEP 02 .import --csv / --json

Seed Tables or Import CSV & JSON Files

Load CSV, TSV, or JSON datasets from your project folder into typed relational tables in a single command.

STEP 03 Run ▶ (.mode box)

Execute Multi-Statement Queries Offline

Inspect Unicode Box Grids, Markdown tables, or JSON output in the split-screen console, with live READ_STDIN() parameter prompts when needed.

STEP 04 .save / .once report.csv

Export Clean Reports & Sync .db to PHP/Java

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!

6 Built-In SQL Examples · Direct Interop With PHP PDO & Java 17 JDBC App Guide
04 CAPABILITY MATRIX

SuperCode SQL IDE vs. Mobile Database Viewers

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.

ANDROID SQL IDE & DATABASE VIEWER COMPARISON
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
Built for Phones, Foldables & Tablets · Lightweight 45 MB Google Play
05 QUESTIONS & ANSWERS

Frequently Asked Questions

Answers on offline SQL practice, opening .db/.sqlite files, CSV/JSON imports, and MySQL syntax.

Can I practice SQL queries offline without setting up a database server?
Yes! Create any .sql file and tap Run to execute multi-statement CREATE, INSERT, JOIN, CTE, and Window Function queries 100% offline with formatted Unicode Box Grid tables.
Can SuperCode open existing .db and .sqlite files on my phone?
Yes. Tapping or running a .db, .sqlite, .sqlite3, or .db3 file inspects all tables, views, indexes, and schemas, and any .sql script in the same project folder can query that database directly.
Does it support MySQL syntax like AUTO_INCREMENT, SHOW TABLES, DESCRIBE, or Stored Procedures?
Everyday MySQL/PostgreSQL DDL and commands (AUTO_INCREMENT, ENUM, SHOW TABLES, DESCRIBE, ILIKE) run locally offline, while server-specific MySQL 8.0 Stored Procedures and Triggers route automatically to Cloud MySQL 8.0.
How do I export SQL query results to CSV, Markdown, or JSON?
Add `.mode csv` (or `.mode markdown` / `.mode json`) and `.once output.csv` before your SELECT query — SuperCode writes the exported file directly into your project folder.
06 SQL PRACTICE, .DB VIEWER & ANALYTICS GUIDES

Explore 5 Deep-Dive Android SQL & Database Guides

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.

6 Interconnected SQL Guides · SQLite 3.54.1 + 50+ MySQL/Postgres Functions SQL & SQLite Studio Hub