Search before asking
Version
select minutes_diff('2023-01-16 10:05:04', '2023-01-15 18:05:04') dt
create view v2 as
select minutes_diff('2023-01-16 10:05:04', '2023-01-15 18:05:04') dt
select dt from v2
What's Wrong?
the value becomes negative
What You Expected?
the value correct
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct