摘要: 一、单行函数(对一行进行操作)- 字符函数 concat(m,n): 拼接m,n并返回 initcap(n): 将n的第一个字母转换为大写instr(x,y,m,n) 在x中查询y的位置. m代表从第几个位置开始查找,n代表字符串y出现的次数; length(... 阅读全文
posted @ 2017-04-24 15:35 2637282556 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 对查询的结果进行排序,写在sql的最后面 语法 select 。。。 form where group by having order by 列名 desc|asc, 列名 desc|asc….. 阅读全文
posted @ 2017-04-24 09:49 2637282556 阅读(77) 评论(0) 推荐(0) 编辑