I have a table:
For example current date 04/02/2020
id | last_update | update_frequency(days)
--------------------------------------------------
1 | 01/02/2020 | 2
2 | 01/02/2020 | 1
3 | 01/02/2020 | 5
I would like to make a single query that will return ids to update.
id |
---------
1
2