I have a table S
containing suppliers (S, SNAME, CITY), a table P
containing products (P, PNAME, COLOUR, WEIGHT, PRICE) and a table SP
containing deliveries (S, P, QTY) where S and P are foreign keys to table S and P.
What I have been asked to do is
"Show the name of the supplier(s) who have delivered the largest delivery (as a nested query)."
How would I go about doing this?
EDIT: Removed the piece of code I claimed was working fine. It was not.