Solved

How do I count the number of records that are "true" in one column?

Posted on 2008-10-11
1
231 Views
Last Modified: 2013-11-28
I have a bunch of records with one column called "completed" that's either yes/no. They are tasks, so I want to count the number of tasks that have a 'yes' in the completed field. How can I do this from the Report Wizard or with a SQL expressions?
0
Comment
Question by:bemara57
1 Comment
 
LVL 5

Accepted Solution

by:
Cvijo123 earned 500 total points
ID: 22695583
Select
count(*) as count,
taskID
from yourTable
where completed = "YES"
group by taskID
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question