How to get value from two diffrent tables
Hello i am a new learner. I want to know How to get value from two different tables and show the value in the textbox. It will be very beneficial if you explain it easily.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Puneet KankarPosted Oct 3, 2017, 6:46 AM
Sandy BhardwajPosted Oct 3, 2017, 2:50 AM
Select F.Fac_Name as FName,F.Address as Faddress,(Select B.Book_Name from Book B Where B.Book_Id = F.Fac_Id) as Book_Title ,S.Stu_Name as SName
, S.Address as Saddress
--======================= OUTPUT
-- FName Faddress Book_Title SName Saddress
-- Zaheer Quereshi Ajmer C# Programming Sandy Bhardwaj Jaipur
Methoun AhmedPosted Oct 2, 2017, 9:47 PM
Puneet KankarPosted Oct 2, 2017, 2:22 PM