Santiago Moresi

Generation

text to sql syntaxWed, 05 Jul 2023

¿Cuál es la sucursal con mayor ganancia neta en 2019?

SELECT branch_name, SUM(net_profit) AS total_profit FROM profits WHERE year = 2019 GROUP BY branch_name ORDER BY total_profit DESC LIMIT 1;

Want to kickstart your project?Use the new AI Studio to create your code