Author: Arun Raj
Posted: Thu Dec 15, 2016 7:12 pm (GMT 5.5)
But in your recent post you mentioned,
Can you show what have you tried and what are you getting out of it? Based on the new details, you might need to change it to JOIN on both ID and MERCHANT. However the question on whether ID, MERCHANT keys from table1 will always be available in table2, and if not what would be the expected output still remains.
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard
Posted: Thu Dec 15, 2016 7:12 pm (GMT 5.5)
Quote: |
i came up the sql what arun wote , that will not work as it will give multiple rows |
Quote: |
if valid value of code is there same value should be repeated for that ID |
Can you show what have you tried and what are you getting out of it? Based on the new details, you might need to change it to JOIN on both ID and MERCHANT. However the question on whether ID, MERCHANT keys from table1 will always be available in table2, and if not what would be the expected output still remains.
_________________
Arun
----------------------------------------------------------------------------------------------------
Love is like an hourglass, with the heart filling up as the brain empties. -Jules Renard