Cerewro generates SQL statements for MySQL, PostgreSQL, SQL Server and SQLite: from simple SELECTs to complex queries with multiple JOINs, subqueries, CTEs, stored procedures and complete migration scripts.
Create a SQL query showing the top 10 customers by revenue in the last quarter, with name, order count, total amount and percentage of total sales