help - most popular thread last 14 days
Posted by:
james b
Date: December 25, 2016 07:59PM
I've been working on coding my own forum system for a while now. I got a bit stuck tonight trying to figure this out.
I have a table for both threads and posts. Each thread and each post has a date from when it was submitted to the database. How do I determine which threads has had the most amount of posts made to it within the last 14 days? How would I write a query for that?
A rough example would be helpful.
Thanks.
Subject
Written By
Posted
help - most popular thread last 14 days
December 25, 2016 07:59PM
December 25, 2016 08:26PM
December 28, 2016 01:30PM
December 28, 2016 01:49PM
December 28, 2016 03:14PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.