摘要: 字符串函数 1、concat 函数 drop table test;create table test(id int(4), name varchar(10), sex char(2));insert into test values(1, 'Tom', '男');select concat(id, 阅读全文
posted @ 2017-04-11 02:29 zhuangrunwei 阅读(935) 评论(0) 推荐(0) 编辑
摘要: --返回当前时间 select now(); -- 年月日时分秒 2018-07-14 00:57:20select sysdate(); -- 返回系统时间 2018-07-14 00:57:20select current_timestamp(); -- 和 now()相同 2018-07-14 阅读全文
posted @ 2017-04-11 02:07 zhuangrunwei 阅读(230) 评论(0) 推荐(0) 编辑