OmniKit
Search 547 tools...
⌘K
Local
Developer tools
sql-minifier
SQL Minifier
Collapse SQL onto a single line
Local
Pin
Loading SQL Minifier…
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;