This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.
Please click here for Company Registration Information.
From: pgsql-sql-owner@postgresql.org [mailto:pgsql-sql-owner@postgresql.org] On Behalf Of Rene Romero Benavides Sent: 30 August 2017 18:23 To: Abdul Hameed <atheequeahmed@gmail.com> Cc: pgsql-sql@postgresql.org Subject: Re: [SQL] Substracting Date field from integer value in another field
Try this:
SELECT ACS_TIMESTAMP - acct_session_time * '1 second'::interval FROM RADIUS_ACC_48