请帮我从mysql中获得以下结果,我需要计算和
select CONVERT_TZ(current_timestamp,'UTC','US/Pacific'),SEC_TO_TIME(15080) as cal_hour_from_sec
电流输出
CONVERT_TZ(current_timestamp,'UTC','US/Pacific'), cal_hour_from_sec
2020-07-15 02:53:26 04:11:20
期望输出(时间戳+小时数之和)
2020-07-15 07:04:20
1条答案
按热度按时间ui7jx7zq1#
使用函数timestamp add: