Calc
orithm
every number has an answer
π
All tools β
β Developer Tools
SQL Formatter
Format and beautify SQL queries for better readability.
SQL input
select u.id,u.name,u.email,o.total from users u inner join orders o on u.id=o.user_id where u.active=1 and o.total>100 order by o.total desc limit 10
Formatted SQL
Copy
SELECT U.ID, U.NAME, U.EMAIL, O.TOTAL FROM USERS U INNER JOIN ORDERS O ON U.ID=O.USER_ID WHERE U.ACTIVE=1 AND O.TOTAL>100 ORDER BY O.TOTAL DESC LIMIT 10