📜  mysql代码示例中的小时差异

📅  最后修改于: 2022-03-11 15:05:09.906000             🧑  作者: Mango

代码示例1
SELECT TIMESTAMPDIFF(HOUR, start_time, end_time) 
           as `difference` FROM timeattendance WHERE timeattendance_id = '1484'