摘要: 字符串函数 是最常用的的一种函数,在一个具体应用中通常会综合几个甚至几类函数来实现相应的应用: 1、LOWER(column|str):将字符串参数值转换为全小写字母后返回 2、UPPER(column|str):将字符串参数值转换为全大写字母后返回 3、CONCAT(column|str1, co 阅读全文
posted @ 2019-01-15 16:46 点碎的阳光 阅读(391) 评论(0) 推荐(0)
摘要: select student_name as "姓名" ,student_gendar "性别" from student;//括号内的内容是别名,查特定列student_name和student_gendar 不等于 != select student_name as "姓名" ,student_ 阅读全文
posted @ 2019-01-15 15:26 点碎的阳光 阅读(165) 评论(0) 推荐(0)
摘要: 查询:一:查询所有数据select * from Info 查所有数据select Code,Name from Info 查特定列二:根据条件查select * from Info where Code='p001' 一个条件查询select * from Info where Code='p00 阅读全文
posted @ 2019-01-15 14:54 点碎的阳光 阅读(345) 评论(0) 推荐(0)