C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...







How to use group by in SQL Server


Posted Date: 13 May 2008    Resource Type: Code Snippets    Category: SQL

Posted By: Aradhana Kumari       Member Level: Gold
Rating:     Points: 5



The following code sample shows how to use group by in SQL Server

select count(*) "total vote",vote from poll_result pr, add_poll ap where ap.id=pr.id and pr.id=@id group by vote




Responses

Author: selva venkatesh    14 May 2008Member Level: Gold   Points : 2
hi
if u write the single query,nobody can able to understand.
give some description for the query related to topic


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Group By  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Create a stored procedure that retrieves a row by id
Previous Resource: Import data directly from excel
Return to Discussion Resource Index
Post New Resource
Category: SQL


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

conference call

Contact Us    Privacy Policy    Terms Of Use