Need to convert SQL query to linq
select top 1 COUNT(Hatch) AS hatchs,Hatch
from TestDemo where Deck='B'
group by Hatch
order by hatchs desc
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit GuptaRank #190 · 12.8K reputationPosted Jan 11, 2021, 1:27 AM EST
Sachin SinghRank #66 · 26.2K reputationPosted Jan 11, 2021, 1:33 AM EST