MySQL time类型的两个字段,例如昨天的时间17点跟今天的4点该怎么求小时差
SELECT TIMESTAMPDIFF(HOUR, '2022-10-20 11:24:00', '2022-10-21 11:24:00') from dual;
你没有date吗,没有date咋求,