SELECT [Id], [TaskId], [AgentName], [IsHelpful], [Comment], [SubmittedAt], [Source], [SuggestedAgent], [Category]
FROM [dbo].[AgentFeedbacks]
WHERE [TaskId] = @TaskId
ORDER BY [SubmittedAt] DESC, [Id];
