Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 2.0 and Databases
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 and Databases by John Kauffman, Bradley Millington; ISBN: 9780471781349
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 and Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 17th, 2015, 09:38 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2015
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Get the percentage of the count result

Hello ma'am/sir, i am asking your big help for this...
I am developing an Online Voting System in ASP.NET with the database from MS ACCESS, i'm having a problem in getting the percentage results in vote count instead of integer.

Here is my query:
Code:
 SELECT COUNT(Result.gov) AS countgov, tblCandidates.[Full Name] FROM (Result INNER JOIN tblCandidates ON Result.gov = tblCandidates.ID) GROUP BY tblCandidates.[Full Name] HAVING (COUNT(Result.gov) > 0) ORDER BY COUNT(Result.gov) DESC
PLEASE SOMEBODY HELP ME?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Percentage: IE6 vs. All others? tal HTML Code Clinic 3 August 1st, 2007 05:57 PM
percentage height GuyB CSS Cascading Style Sheets 1 July 6th, 2006 09:42 PM
percentage formula.....? pls help mnr555 Crystal Reports 0 June 19th, 2006 12:11 PM
percentage darkhalf Javascript 2 October 28th, 2005 02:55 PM
Prb: COUNT qry result NOT SAME as SELECT qry savoym SQL Language 5 July 2nd, 2003 04:44 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.