How can I make an average of dates in MySQL?

前端 未结 7 2130
感情败类
感情败类 2020-12-01 20:42

How can I make an average between dates in MySQL? I am more interested in the time values, hours and minutes.

On a table with:

| date_one   | datetime          


        
7条回答
  •  猫巷女王i
    2020-12-01 21:26

    thinking outloud you could do a datediff in minutes from a set time, average that and then add those minutes back to the set time...

提交回复
热议问题