Q&A for linguists, teachers and learners wanting to discuss the finer points of the Portuguese language
declare @score int select @score = max(score) from comments select postid from comments c where c.score = @score