No, in MySQL there is no time interval data type. There is a function request for one, but apparently it has not received much attention.
The type of time can be used for this purpose, although, as provided in the documentation
MySQL retrieves and displays TIME values ββin the format "HH: MM: SS" (or the Format "HHH: MM: SS" for large hours of value). TIME values ββcan range from '-838: 59: 59' to '838: 59: 59'. The clock part can be so large, because the TIME type can be used not only to represent the time of day (which should be less than 24 hours), but also the elapsed time or time interval between two events (which can be much more than 24 hours or even negative).
source
share