格式
'YYYY-MM-DD HH:MM:SS'
- 1
筛选比较
where unix_timestamp(mytime) > unix_timestamp('2024-03-10 00:00:00') and unix_timestamp(mytime) < unix_timestamp('2024-03-11 00:00:00')
- 1
天数加一
set mydate = mydate + numtodsinterval(24,'hour') where unix_timestamp(mytime) > unix_timestamp('2024-03-10 00:00:00') and unix_timestamp(mytime) < unix_timestamp('2024-03-11 00:00:00')
- 1