LINQ Query Help!

Posted by rk1962 on Stack Overflow See other posts from Stack Overflow or by rk1962
Published on 2010-05-12T16:52:48Z Indexed on 2010/05/12 16:54 UTC
Read the original article Hit count: 541

Can someone hep me converting the following SQL query into LINQ?

select convert(varchar(10),date,110) as 'Date', max(users) as 'Maximum Number of Users', max(transactions) as 'Maximum Number of Transactions' from stats where datepart(Year, Date) = '2010' group by convert(varchar(10),date,110) order by convert(varchar(10),date,110)

Thank you in advance!

© Stack Overflow or respective owner

Related posts about linq-to-sql

Related posts about linq-to-entities