SELECT TO_CHAR(ADDTIME/ (60 * 60 * 24) + TO_DATE('1970-01-01 08:00:00', 'YYYY-MM-DD HH24:MI:SS'), 'YYYY-MM-DD HH24:MI:SS') AS TESTDATE FROM TEST WHERE TEST_ID='1234';
其中“HH24:MI:SS”为24小时制
SELECT TO_CHAR(ADDTIME/ (60 * 60 * 24) + TO_DATE('1970-01-01 08:00:00', 'YYYY-MM-DD HH24:MI:SS'), 'YYYY-MM-DD HH24:MI:SS') AS TESTDATE FROM TEST WHERE TEST_ID='1234';
其中“HH24:MI:SS”为24小时制