I have a query to check how many items are in each location, but how do I tell it I only want it to count those marked unchecked?
Current: SELECT "Location", COUNT( * ) AS "count" FROM "Master List" GROUP BY "Location"
There's 86 items listed as being on Shelf 4, but I want to know how many of them are checked or not.
Thank you.
[Solved] List of locations with number of unchecked items
[Solved] List of locations with number of unchecked items
Last edited by Kirjava on Tue Nov 03, 2026 6:05 pm, edited 1 time in total.
OpenOffice 3.1 on Windows 7
Re: List of locations with number of unchecked items
If the column that marks the checked status is called Status, the query would look something like
Code: Select all
SELECT "Location", COUNT( * ) AS "count" FROM "Master List" WHERE "Status" = 'checked' GROUP BY "Location"OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
Re: List of locations with number of unchecked items
Yep, does exactly what I want. Thank you.
OpenOffice 3.1 on Windows 7