I want the difference two date columns and result should be as: 0.62222222222222222 if the two dates are same with timestamp. In Oracle we can do this just by subtracting but that didn't work in PostgreSQL.
Can anyone please explain me with an example?