HOUR(time)SELECT HOUR(‘11:22:33') SELECT HOUR(‘2016-01-16 11:22:33')-> 11 -> 11返回该date或者time的hour值,值范围(0-23)