SQL
Here is table A with these variables like delivery ages and their location and orders, here is table B with orders, destination and their prices. Find the average delivery distance per agent. Sort in descending order of total orders delivered.
Was asked at