This might be a very simple, but I couldnt make it to work.Hope I get some help.
I have a select statement which returns the follow data
Id  Name  Phone  msg     File
1    A    null   null     f1
another select statement
Id     Name   Phone   msg      File
NULL   NULL    123   nothing     f1
NULL   NULL    156   nothing1    f1
How do I merge the above as
Id     Name   Phone   msg      File
1       A      123   nothing     f1
1       A      156   nothing1    f1
I tried using max and group by on File. Any help is appreciated.
Thanks in advance

