使用关键字 timestamp比较即可。
select count(*) from tablename where adddate>timestamp '2016-11-14 00:00:00' and adddate < timestamp '2016-11-14 23:59:59'
本文共 193 字,大约阅读时间需要 1 分钟。
使用关键字 timestamp比较即可。
select count(*) from tablename where adddate>timestamp '2016-11-14 00:00:00' and adddate < timestamp '2016-11-14 23:59:59'
转载于:https://www.cnblogs.com/swbzmx/p/6068089.html