I am trying to get the time difference between 2 users, I need the difference in hours.
I tried to use DATEDIFF function but it's wrong.
Here is my code:
SELECT DATEDIFF(*,
(SELECT max(u1.time_c)
FROM users u)
,
(SELECT max(u2.time_c)
FROM users u2)