Generation

generate functionSat, 25 Mar 2023

CONSULTA PARA DETERMINAR EL PRODUCTO MÁS VENDIDO

SELECT product_name, COUNT(product_id) FROM products JOIN customers USING (product_id) GROUP BY product_id ORDER BY COUNT(product_id) DESC;

Questions about programming?Chat with your personal AI assistant