by WorkLifeBalance · 8y ago · 0 comments
In this case it would be much faster to have an intermediate table or column with that statistic that could then be properly indexed.
https://www.definitions.net/definition/sargable
https://stackoverflow.com/questions/799584/what-makes-a-sql-...