S
subs
ocity dcity total price
A B 1222
C D 1345
E F 1000
B A 10
D C 14
i have a table like the one above. i would like to know the query
which can add the total price for rows with ocity and dcity reversed.
F or example i need a query which can get the following result
ocity dcity sumoftotal price
A B 1232
C D 1359
E F 1000
i.e A,B and B,A rows are added - as well C,D and E,f are added
because they exchange their places in ocity and dcity.
Thanks for any assistance
A B 1222
C D 1345
E F 1000
B A 10
D C 14
i have a table like the one above. i would like to know the query
which can add the total price for rows with ocity and dcity reversed.
F or example i need a query which can get the following result
ocity dcity sumoftotal price
A B 1232
C D 1359
E F 1000
i.e A,B and B,A rows are added - as well C,D and E,f are added
because they exchange their places in ocity and dcity.
Thanks for any assistance