使用关键字 timestamp比较即可。

select count(*) from tablename where adddate>timestamp '2016-11-14 00:00:00' and adddate < timestamp '2016-11-14 23:59:59'

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
猜你喜欢
  • 2021-11-21
  • 2021-11-23
  • 2021-11-16
  • 2021-11-23
  • 2021-11-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案