ComeçarComece de graça

Usando USING

A eSymphony quer agradecer seu cliente mais fiel enviando um vale-presente. Sua tarefa é identificar o cliente que mais gastou na empresa.

Você não tem certeza de qual convenção a pessoa que vai executar sua consulta prefere, então decide mostrar suas habilidades em SQL usando a cláusula USING e também ON no seu join.

Este exercício faz parte do curso

Introdução ao Oracle SQL

Ver curso

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

-- 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 ___ = ___
Editar e executar o código