OmniKit
Search 547 tools...
⌘K
Local
Developer tools
sql-formatter
SQL Formatter
Format and highlight SQL for many dialects
Local
Pin
Loading SQL Formatter…
Related tools
All Developer tools →
Favicon Generator
App Icon Generator
Sprite Sheet Generator
Placeholder Image Generator
Image to Base64
HTML to PDF
Format
Minify
Standard SQL
PostgreSQL
MySQL
SQLite
T-SQL
Copy
select u.id, u.email, count(o.id) as orders from users u left join orders o on o.user_id = u.id where u.active = 1 group by u.id order by orders desc limit 25;
select u.id, u.email, count(o.id) as orders from users u left join orders o on o.user_id = u.id where u.active = 1 group by u.id order by orders desc limit 25;