F
Faraz A. Qureshi
I have a table with following 3 fields:
Account_1, Account_2, Amount
Any query that would result into following layout?
Account (Containing Unique Names From BOTH Account_1, Account_2)
Amount_1 (Containing Amounts of Accounts Listed In Account_1)
Amount_2 (Containing Amounts of Accounts Listed In Account_2)
For instance, consider the following sample:
Account_1, Account_2, Amount
====== ======= =====
AccountA AccountB 1000
AccountC AccountA 2000
AccountB AccountC 3000
To be generating a result as follows:
Account, Amount_1, Amount_2
====== ======= =======
AccountA 1000 2000
AccountB 3000 1000
AccountC 2000 3000
Looking forward for your expertise!
Account_1, Account_2, Amount
Any query that would result into following layout?
Account (Containing Unique Names From BOTH Account_1, Account_2)
Amount_1 (Containing Amounts of Accounts Listed In Account_1)
Amount_2 (Containing Amounts of Accounts Listed In Account_2)
For instance, consider the following sample:
Account_1, Account_2, Amount
====== ======= =====
AccountA AccountB 1000
AccountC AccountA 2000
AccountB AccountC 3000
To be generating a result as follows:
Account, Amount_1, Amount_2
====== ======= =======
AccountA 1000 2000
AccountB 3000 1000
AccountC 2000 3000
Looking forward for your expertise!