SELECT DATEDIFF('2008-12-30','2008-12-29') AS DiffDate
用前面的减掉后面的,结果1.
refurl:http://www.w3school.com.cn/sql/func_datediff_mysql.asp
SELECT DATEDIFF('2008-12-30','2008-12-29') AS DiffDate
用前面的减掉后面的,结果1.
refurl:http://www.w3school.com.cn/sql/func_datediff_mysql.asp