• method 1

select * from user_info where create_date >= '2019-05-01' and create_date < '2019-08-15';

 

  • method 2

select * from user_info where create_date between '2019-05-01' and '2019-08-15';

 

  • method 3

select * from user_info where create_date >= '2019-05-01'::timestamp and create_date < '2019-08-15'::timestamp;

 

  • method 4

select * from user_info where create_date between to_date('2019-05-01','YYYY-MM-DD') and to_date('2019-08-15','YYYY-MM-DD');

 

相关文章:

  • 2021-06-06
  • 2022-12-23
  • 2021-12-13
  • 2021-11-19
  • 2021-08-13
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
猜你喜欢
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2021-12-28
相关资源
相似解决方案