
aTable Name : TblState
Stid StateName CountryId
---------------------------------------------
01 TN 01
02 KR 01
03 KL 01
04 WB 01
05 New York 02
06 Oregon 02
Table Name : TblDist
Did Stateid DistName CountryId
-----------------------------------------------------
01 01 Chennai 01
02 01 Covai 01
03 01 Madurai 01
04 03 Palakkad 01
06 05 AAA 02
08 06 XXX 02
I need output for like this conditoin(tblstate.CountryId=tblDist.countryId)
Output
Stateid StateName
------------------------
01 TN
01 TN
01 TN
03 KL
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.