What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 19600 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > how to solve this issue for count ...
Jayakumars

how to solve this issue for count

Replies: 1 | Posted by: Jayakumars on 4/26/2012 | Category: ASP.NET Forums | Views: 204 | Status: [Member] | Points: 10  


hi

i need how to count value for this my table like this users entry data will entry users some time different data

Id Items
1 AA
2 BB
3 CC
4 DD
5 EE
6 FF
7 Male
8 Female
9 Male
10 Female
11 VB.net
12 Asp.net

but i need output like this

I need Count Details like this

AA BB CC DD EE FF Male Female Vb.net Asp.net
1 1 1 1 1 2 2 2 1 1

Mark as Answer if its helpful to you

Regards
Email Id: kumaraspcode2009@gmail.com


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Ajayk3
Ajayk3  
Posted on: 4/26/2012 1:26:13 AM
Level: Starter | Status: [Member] | Points: 25

select items,count(Items) From table group by items

Jayakumars, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/22/2013 1:54:03 PM