Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

I have table like this

ID EntityId ItemId
1 TestEntity 465
2 ReadEntity 13
3 TestEntity 466
4 WriteEntity 250


Output

TestEntity ReadEntity WriteEntity
465,466 13 250
Posted
Comments
Rajeev Jayaram 29-Mar-12 8:17am    
Try [http://msdn.microsoft.com/en-us/library/ms190349.aspx] COALESCE and see if it helps.

1 solution

It is Not Possible, because Sql query will always fetch two records For the TestEntity.
 
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