ilyash
03-11-2005, 09:17 PM
What is the SQL query to search for the hottest threads.
Like if i post in thread #3 from the bottom, it becomes thread #1
Is this more than one query?
Like select threadid from [most recent reply]
Select * from threads where threadid=[threadid up there];
and
Select * from threads where threadid != [threadid up there];
but then the second hottest.. etc? how would that work?
Like if i post in thread #3 from the bottom, it becomes thread #1
Is this more than one query?
Like select threadid from [most recent reply]
Select * from threads where threadid=[threadid up there];
and
Select * from threads where threadid != [threadid up there];
but then the second hottest.. etc? how would that work?
