Desktop SQL IDE for Oracle Fusion Cloud with AI-powered query generation
Cross-platform desktop SQL IDE for Oracle Fusion Cloud (ERP, HCM, SCM). Run queries, export data, and generate SQL from natural language using OpenAI or Claude — all with just a URL, username, and password.
- SQL Editor — CodeMirror with syntax highlighting and schema autocomplete
- Auto-pagination — Transparently fetches all rows beyond the 1000-row BIP limit
- Export — CSV and Excel with streaming auto-pagination (constant memory)
- AI SQL Generation — Natural language to SQL via OpenAI or Claude, with auto-retry on errors
- RAG Schema Cache — Extracts tables/columns/FKs to local SQLite for smart autocomplete and LLM context
- Connection Manager — Save multiple Oracle Fusion instances, test before save, auto-deploy proxy report
- Query History — Searchable history of all executed queries
- Dark/Light Theme — Toggle with one click
- Multi-language — English, Portuguese (BR), Spanish
- No web server — Pure desktop app, no localhost HTTP needed
pip install fusion-query-studioOr from source:
git clone https://github.com/AleCyriaco/fusion-query-studio.git
cd fusion-query-studio
pip install -e .
fusion-query-studio- Launch the app:
fusion-query-studio - Click New Connection — enter URL, username, password
- Click Test Connection — auto-deploys proxy report to BIP
- Save and start querying!
- Open the AI panel (toolbar or View menu)
- Type a question: "show all active employees hired in 2024"
- The AI generates SQL using your schema context
- SQL runs automatically — if it fails, AI corrects and retries (up to 3x)
- Click Use this SQL to load it into the editor
Supports OpenAI (gpt-4o) and Claude (claude-sonnet) — configure API keys in Settings.
Built on fusion-query — the universal Oracle Fusion Cloud SQL engine.
fusion-query-studio/
├── app.py # Application entry point
├── main_window.py # Main window assembly
├── connection/ # Connection manager + dialog + SQLite store
├── editor/ # CodeMirror SQL editor via QWebEngineView
├── results/ # QTableView with sortable model
├── export/ # CSV + Excel with auto-pagination
├── schema_cache/ # RAG: extract tables/columns/FKs to SQLite
├── llm/ # OpenAI + Claude providers, prompt builder, retry engine
├── history/ # Query history in SQLite
├── i18n/ # EN, PT-BR, ES translations
├── theme/ # Dark + light QSS themes
├── settings/ # Settings dialog
└── workers/ # QThread workers for async operations
MIT