YEONSOFTIntelligence Hub
Dashboard

⚡ 実用・生活

マイIPアドレス確認
住所・郵便番号検索
単位変換器
地図と周辺情報

📊 経済・金融

リアルタイム為替計算機
給与手取り計算機
消費税計算機
ローン利息計算機

🤖 AI知能型

AIスマートメニュー
AI画像生成機
今日の服装おすすめ
パーソナルカラー診断
ヘアスタイル推薦

Dev Utils

JSON Formatter
Base64 Converter
Regex Tester
SQL Formatter

🌐 グローバル・連動

AIリアルタイム翻訳
カレンダー登録
国別文化の違いガイド
AIホットスポット
Mascot Avatar
Account Settings
Customize Preferences
Dashboard
/SQL Formatter
株式会社ヨンソフト
代表取締役: ファン・ボクドン
事業者登録番号: 129-86-75859
住所: 경기도 하남시 미사강변한강로 270, (망월동, 미사역 호반 써밋)
support@yeonsoft.kr

カスタマーサポート

ヘル프センタープライバシーポリシー利用規約お問い合わせ

Banners & Widgets

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

View Widget Guide

© 2026 株式会社ヨンソフト. All rights reserved.

Dashboardお問い合わせWidget 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