SELECT SUM(p.Runs + p.Wickets + p.Catches + p.Runouts) AS points, u.UserId
FROM tblPlayerUser AS pu INNER JOIN
tblUser AS u ON pu.UserId = u.UserId INNER JOIN
tblPlayer AS p ON pu.PlayerId = p.PlayerId
GROUP BY u.UserId
This is my sql query to fetch the records.
I want a code which will perform this query's operation in Linq to Sql(C#)
Can Anyone help me