diff --git a/SQL_exercise_07/7_questions.sql b/SQL_exercise_07/7_questions.sql index d05ea2d..eae2cd1 100644 --- a/SQL_exercise_07/7_questions.sql +++ b/SQL_exercise_07/7_questions.sql @@ -1,4 +1,6 @@ -- https://en.wikibooks.org/wiki/SQL_Exercises/Planet_Express -- 7.1 Who receieved a 1.5kg package? -- The result is "Al Gore's Head". + SELECT Client.Name FROM Client WHERE AccountNumber = (SELECT Package.Recipient FROM Package WHERE Package.Weight=1.5); + -- 7.2 What is the total weight of all the packages that he sent?