MySQL數據庫8——數據庫中函數的應用

數據庫中內置函數的使用 該篇主要介紹數據庫中內置函數的使用,主要有日期函數,字符串函數,數學函數。 (一)日期函數 web select current_date();//得到當前日期,年月日 select current_time();//得到當前時間,時分秒 select current_timestamp();//得到當前 年月日 時分秒 select date('2017-10-28');
相關文章
相關標籤/搜索