SQL – Get first record in Join with Order By
I was asked to get a list of customers with a single address for each, and preferably the Postal address if the customer has one. Getting the first record is easy enough with a MIN function, but when you have to add an ORDER BY or GROUP BY […]