赞
踩
select EXTRACT(HOUR FROM '2022-07-18 18:10:17' )
结果 18
select EXTRACT(HOUR FROM '2022-07-18 06:10:17' )
结果 6