1、我如何才能通过SQL找到cTime与gTime之间相减的差的最大值(也就是第一条记录,并换算成格式为“01:03:11”)的内容呢? select format(max(eTime-cTime),'hh:mm:ss') from table1 2、我又如何才能通过SQL找到eTime与cTime之间相减的差的平均值呢?(格式同上) select format(avg(eTime-cTime),'hh:mm:ss') from table1
select format(max(eTime-cTime),'hh:mm:ss') from table1
select format(avg(eTime-cTime),'hh:mm:ss') from table1
7,714
社区成员
28,799
社区内容
加载中
试试用AI创作助手写篇文章吧