Can anyone help me out, I'm stuck on a sql query.
Basically I am building a journal application which will allow a person to post a journal entry, and then allow other people to reply to this.
At the moment I have the journals in one table, and the messages relating to a journal entry in another.
My problem is that I now want to arrange it so the journal is displayed at the top of the page and then any associated messages below this.
My thinking is that I need to query the first table and then query the second.
Journal looks like:
JournalID
Poster
Date
Comment
Journal_Messages
MessageID
JournalID
Poster
Date
Comment
Can I simply join the two tables together to get the info I want?