I have 2 tables, and all I want to do is always return all the rows from Table A regardless if there is a link to Table B via field Test No. But I will be passing the following filters:
Table A - Group No = ABC
Table B - Sample No = 123
Table A
Group No | Test No | Description
123 | 1 | First Test
123 | 2 | Second Test
123 | 3 | Third Test
Table B
Sample No | Test No | Result Description
ABC | 1 | Some Result
ABC | 3 | Some More Result
I would like the above to return something like:
Sample No | Test No | Description | Result Description
123 | 1 | First Test | Some Result
123 | 2 | Second Test |
123 | 3 | Third Test | Some More Result
I did a left outter join, but it did not return the second row above.
Table A - Group No = ABC
Table B - Sample No = 123
Table A
Group No | Test No | Description
123 | 1 | First Test
123 | 2 | Second Test
123 | 3 | Third Test
Table B
Sample No | Test No | Result Description
ABC | 1 | Some Result
ABC | 3 | Some More Result
I would like the above to return something like:
Sample No | Test No | Description | Result Description
123 | 1 | First Test | Some Result
123 | 2 | Second Test |
123 | 3 | Third Test | Some More Result
I did a left outter join, but it did not return the second row above.