Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
select sum(sal),empname,empid from emptable

I want one aggregate function and remaining normal columns from a given table in lambda expression...
Posted
Updated 8-Apr-15 0:25am
v3
Comments
Maciej Los 8-Apr-15 7:51am    
Not enough inforation! Please, provide more details. Use "Improve question" widget.

1 solution

First of all, please read my comment to the question.


Here is an idea:
101 LINQ Samples[^]
How to: Group Query Results (C# Programming Guide)[^]
How to Use LINQ GroupBy[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900