How do I get a difference between two hours?
For example, between 07:30 and 09:00 , so you can tell me the difference in minutes, seconds and hours.
07:30
09:00
With the TIMEDIFF
SELECT TIMEDIFF("07:30:00", "09:00:00");
Here is the reference manual .