Sql question

  • I'm working on a forum

    I have a date field in a 'reply' table how can i determine who posted last using the date field.

     

     

  • Select top 1 PosterID from Replies where ThreadID = @Somevariable order by PostDate DESC

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply