获取sql 时间时分秒时间:2023-03-09 13:21:05 select DATE_FORMAT(now(),'%Y-%m-%d %T') from dual; 年月日时分秒 select DATE_FORMAT(now(),'%T') from dual;时分秒