ID Name 1 Sri 2 Giri
ID Status 1 A 2 I
ID Name Status 2 Giri Null
Select t1.ID,t1.NAME,t2.STATUS from Table1 t1 left join Table2 t2 on t1.ID=t2.ID and t2.STATUS='A' where t1.ID=2
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)