Ron Cates Posted September 13, 2016 Posted September 13, 2016 I'm trying to wrap my head around using ExecuteSQL() to produce the following results but I could use some help. I have a table of projects with a field for status. I would like to query the table to get a list of all the statuses and how many projects contain each status. Active,10 Inactive,15 Cancelled,2 Completed,25
comment Posted September 13, 2016 Posted September 13, 2016 How about: SELECT Status, COUNT (*) FROM Projects GROUP BY Status
Recommended Posts
This topic is 3335 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now