MYSQL TimeDiff do not subtract if it is 0 with PHP

前端 未结 0 1251
一生所求
一生所求 2021-01-02 12:02

I have this code on PHP:

$sql = "SELECT
                    SUM(HOUR(TIMEDIFF(HOURS.hour_enter, HOURS.hour_exit)))  AS hours,
                    SUM(MIN         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题