I have one table of shipping routes with their origin and destination city, and price. What I am trying to do is figure out a way to automatically create a secondary table that averages the shipping cost of all the trips in that specific route. For example:
Column 1 ------------Column 2 ------------Column 3
New York ----------------Chicago ------------ 300
New York ---------------Chicago ------------700
Miami --------------------Chicago ------------800
Chicago ------------------Seattle ------------900
New York ---------------Chicago ------------200
So i would like to make a table that takes the average of each individual route in this case. Which would look like this.
Column 1 ------------Column 2 ------------Column 3
New York ---------------Chicago ----------------400
Miami --------------------Chicago ----------------800
Chicago -----------------Seattle -----------------900