I have this MySQL question:
Say I'm making a forum script, and have a table containing all the threads, and each thread has an id.
Then I have another table, containing all the reply posts, and each reply contains the id of the thread the reply is to.
Is there some MySQL code I can use when retrieving the threads, to sort them by the number of replies they have? Thanks!