I have a single table requests
| ID | Opened | Closed | | 1 | 2012-08-21 16:11:22 | 2012-10-31 11:48:58 | | 2 | 2012-08-15 16:17:19 | 2012-09-18 09:31:32 |
And want to write a query that will check the table for all records that were closed within 2 business days
I was thinking something like
SELECT * FROM requests WHERE Closed <= (Opened+TWO BUSINESS DAYS)
But cannot figure out the logic for the TWO BUSINESS DAYS part.