I have ran a union query that combines two tables but i now need to combine the duplicates as 1. The following are the results i get and the issues that i am having:
ID | Name | Pass | Fail
10 | AAA | 10 | 2
10 | AA | 10 | 2
| BBB | | 13
23 | bbb | 89 |
40 | A B | | 2
40 | A | 29 |
i have some duplicate results for the same person but due to some differences this is showing me duplicate results.
Is their anyway I can write an if argument that would check either the ID or Name to see if this matches then to combine the results like the following:
ID | Name | Pass | Fail
10 | AAA | 10 | 2
23 | bbb | 89 | 13
40 | A B | 29 | 2
If somebody could please help. Thanks in advance.
ID | Name | Pass | Fail
10 | AAA | 10 | 2
10 | AA | 10 | 2
| BBB | | 13
23 | bbb | 89 |
40 | A B | | 2
40 | A | 29 |
i have some duplicate results for the same person but due to some differences this is showing me duplicate results.
Is their anyway I can write an if argument that would check either the ID or Name to see if this matches then to combine the results like the following:
ID | Name | Pass | Fail
10 | AAA | 10 | 2
23 | bbb | 89 | 13
40 | A B | 29 | 2
If somebody could please help. Thanks in advance.