MySQL数据库8——数据库中函数的应用

数据库中内置函数的使用 该篇主要介绍数据库中内置函数的使用,主要有日期函数,字符串函数,数学函数。 (一)日期函数 web select current_date();//得到当前日期,年月日 select current_time();//得到当前时间,时分秒 select current_timestamp();//得到当前 年月日 时分秒 select date('2017-10-28');
相关文章
相关标签/搜索