mysql中计算时间差

TIMEDIFF hour:minute:second

DATEDIFF days
PERIOD_DIFF year

 

你可能感兴趣的:(mysql)