⚒
ToolCraft
SQL Formatter
Formate queries SQL para MySQL, PostgreSQL e outros dialetos.
Formatar
Limpar
Compartilhar
Dialeto:
Genérico (SQL)
MySQL
PostgreSQL
Input
select u.id, u.name, u.email, count(o.id) as total_orders from users u left join orders o on u.id = o.user_id where u.active = 1 and u.created_at >= '2024-01-01' group by u.id, u.name, u.email having count(o.id) > 0 order by total_orders desc limit 10
Output
O output aparecerá aqui...