minktn/spider-data huggingface dataset:
Question: Who receieved a 1.5kg package?

SQL:
select client.name 
from client join Package
on client.AccountNumber = Package.Recipient
where package.Weight = 1.5;
Question: What is the total weight of all the packages that he sent?
SQL:
select sum(weight) from Package 
where Sender = (
select Recipient from Package where Weight = 1.5
);
SELECT SUM(p.weight) 
FROM Client AS c 
  JOIN Package as P 
  ON c.AccountNumber = p.Sender
WHERE c.Name = "Al Gore's Head";