date_add 函数

例子:date_add('day',-1,current_date)

 

date_diff 函数

例子:date_diff('day',cast(a.dt1 as timestamp),cast(b.dt1 as timestamp))

 

相关文章:

  • 2022-12-23
  • 2023-02-06
  • 2021-10-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-01
猜你喜欢
  • 2022-12-23
  • 2021-10-15
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
  • 2021-10-06
相关资源
相似解决方案