8.7 Counting data items
The Search command of a database allows you to quickly count the number of items that meet a search request.
Databases exercise 5
Counting data items
Skills practised
- Counting data items
- Single data searches
- Multiple data searches
- Sort ascending
- Sort descending
- Use either a single selection search or a multiple selection search to answer the following questions. You should not need to manually count any items to find the answers to these questions:
- How many employees are there at the Keilor cafe?
- How many cooks are employed?
- How many employees earn less than $550 per week?
- How many employees were born before 1/1/90?
- How many employees work over 35 hours per week?
- How many employees at the Essendon cafe work less than 35 hours per week?
- How many delivery workers earn more than $400 per week?
- How many employees at the Richmond cafe were born before 1/1/90?
- If you need to find out who earns the most money or who is the oldest employee a sort is the easiest way to do it. Use a Sort request to answer the following questions:
- Who earns the most income?
- Who works the least hours per week?
- Who is the oldest employee?
- Who is the youngest employee?