HOUR(time)SELECT HOUR(‘11:22:33') SELECT HOUR(‘2016-01-16 11:22:33')-> 11 -> 11傳回該date或time的hour值,值範圍(0-23)