摘要:
http://stackoverflow.com/questions/250867/most-popular-group-by-in-linqAssuming a table of tags like the stackoverflow question tags: TagID (bigint), QuestionID (bigint), Tag (varchar) What is the most efficient way to get the 25 most used tags using LINQ? In SQL, a simple GROUP BY will do: ... 阅读全文