hi all
I have three tables accounts,location,division
accounts
=========
Id
desr
from_Location_Id
To_Location_Id
From_Division_Id
To_Division_Id
location
==========
locationId
location
Division
=========
DivisionId
Division
I want result data set like
Id Name from_locationname to_locationname to_divisionname from_divisionname
I inner joined to same table twice but entries coming only if from and to ids are same how to get names of from and to codes using query
Thanks in Advance
Amrutha