YEONSOFTIntelligence Hub
Dashboard

⚡ Life & Utility

Check My IP
Address Search
Unit Converter
Map & Nearby

📊 Finance & Asset

Currency Converter
Salary Calculator
VAT Calculator
Loan Calculator

🤖 AI Smart

AI Smart Menu
AI Image Generator
Today's Outfit
Personal Color
Hair Style Guide

Dev Utils

JSON Formatter
Base64 Converter
Regex Tester
SQL Formatter

🌐 Global & Sync

AI Translation
Add to Calendar
Global Cultural Differences
AI Hotspot Guide
Mascot Avatar
Account Settings
Customize Preferences
Dashboard
/SQL Formatter
Yeonsoft Co., Ltd.
CEO: Bok-dong Hwang
Business Reg: 129-86-75859
Addr: 270 Misagangbyeonhangang-ro, Hanam-si, Gyeonggi-do, Korea
support@yeonsoft.kr

Customer Support

Help CenterPrivacy PolicyTerms of ServiceContact Us

Banners & Widgets

A rectangular style optimized for sharing and widget embedding with minimal whitespace.

View Widget Guide

© 2026 Yeonsoft Co., Ltd.. All rights reserved.

DashboardContact UsWidget Guide
Developer Toolkit

SQL Formatter & Query Beautifier

Automatically beautify, validate, and safely minify complex SQL queries across 9 dialects.

SQL QUERY EDITOR

Automatically formats in real time as you type or adjust options.

Samples:
FORMATTED SQL (MYSQL)29 lines · 791 B
-- 카테고리별 완료 주문 매출 및 객단가 집계
SELECT
  c.category_name,
  p.product_id,
  p.product_name,
  COUNT(DISTINCT o.order_id) AS completed_orders,
  SUM(oi.quantity) AS total_units,
  SUM(oi.quantity * oi.unit_price) AS gross_revenue,
  ROUND(AVG(oi.quantity * oi.unit_price), 0) AS avg_item_revenue
FROM
  products p
  INNER JOIN categories c ON p.category_id = c.category_id
  LEFT JOIN order_items oi ON p.product_id = oi.product_id
  LEFT JOIN orders o ON oi.order_id = o.order_id
WHERE
  o.status = 'COMPLETED'
  AND o.created_at >= '2026-01-01 00:00:00'
  AND p.is_deleted = FALSE
GROUP BY
  c.category_name,
  p.product_id,
  p.product_name
HAVING
  SUM(oi.quantity * oi.unit_price) >= 1000000
ORDER BY
  gross_revenue DESC,
  completed_orders DESC
LIMIT
  30;

Formatting Options