I have 2 tables: Employees
with the employee info and Download
with the timestamp that the application was downloaded.
I have to subtract the current timestamp from the most recent download time stamp. I figured out the most recent download and also know how to get the current timestamp. I just can't figure out how to get the difference.
The query I used for getting the most recent download is:
SELECT MAX(srvr_timestamp) from jaherna42.download; --***dB.table
The query I used for getting the current timestamp is:
SELECT current_timestamp from dual;