Usar USING
eSymphony quiere agradecer a su cliente más fiel enviándole una tarjeta regalo. Tu tarea es identificar al cliente que ha gastado más dinero en la empresa.
No estás seguro de qué convención prefiere la persona que ejecutará tu consulta, así que decides mostrar tus habilidades en SQL usando la cláusula USING y también ON en tu unión.
Este ejercicio forma parte del curso
Introducción a Oracle SQL
ejercicio interactivo práctico
Prueba este ejercicio completando este código de ejemplo.
-- Select the customer first and last name, and the total amount
SELECT ___, ___, ___
-- Join the Customer and the Invoice tables
FROM Customer c ___
-- Complete the common joining column
ON ___ = ___