← 返回首页
SQL 格式化
美化、压缩 SQL 语句,支持主要 SQL 关键字高亮。
美化
压缩
复制
清空
输入 SQL
SELECT u.id,u.name,u.email,o.order_id,o.total FROM users u LEFT JOIN orders o ON u.id=o.user_id WHERE u.age>18 AND u.status='active' ORDER BY u.created_at DESC LIMIT 10;
输出结果