I have two tables. One table is named "Posts", the other is "Threads". Each of these has 3 columns named (id, author, content). The Posts table has a specific (thread) column. The thread column has to correspond to the id in the Threads table. What I'm trying to do is make one query that will select the thread, and all of its posts, and normalize its resulting fields. Here is what I want to generate:
author | content
Person| This is the thread's contents
Person| This would be a post.
Person| And another post.