Very new to SQL programming! My company uses MS Access and uses SQL queries like the following:
SELECT RepeatOrder, COUNT(1) FROM [Archive Orders] GROUP BY RepeatOrder
Whenever the COUNT function is used, it is always COUNT(1) and nothing else. I've tested the above query with COUNT(*), COUNT(27) and even COUNT(-1), and they all return exactly the same data.
The w3schools tutorial on SQL COUNT only mentions COUNT(*) as an example (when not using a field name).
What is the significance of a number like "1" in a COUNT function?