Santiago Moresi

Generation

text to sql syntaxWed, 05 Jul 2023

sucursal que más comisión pagó en el año 2020

SELECT branch, SUM(comissions) FROM sales WHERE YEAR(date) = 2020 GROUP BY branch

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