Hi,
This may be a stupid question but I can't work out how to get data from two tables when there is a joining table between them  I know how to do joins, left joins etc but I'm having a bit of a mental block with this one, and I'm guessing it's an obvious question.
If I have tables called people, organisation and the joining table is called organisationPeople what would the query be to retrieve data from both? I queried the joining table but only got two attributes returned since that is what is stored in the joining table (personId and organisationId)
Any help will be appreciated! 
|