I want to perform a check "is there an entry for each of the last 100 days in a table" where the table has something like a reference date column and was thinking about joining with a subquery that returns sysdate - 0, sysdate - 1, ... sysdate - 100.
Updates (for clarification):
- I need to know which dates are missing in the last n days
- I want to avoid additional tables (also temp tables)
Is this a good approach?