2015年10月27日
摘要: select * from t_hq_ryxx;select bianh,xingm from t_hq_ryxx;--为字段名定义别名select bianh as 编号,xingm as 姓名 from t_hq_ryxx;select bianh 编号 from t_hq_ryxx;sele... 阅读全文
posted @ 2015-10-27 21:49 锿咚公爵 阅读(407) 评论(0) 推荐(0) 编辑
摘要: 对于any,all的用法,书中说的比较绕口,难以理解,如果通过举例就会比较清晰. any的例子:select * from t_hq_ryxx where gongz > any(select pingjgz from t_hq_bm);输出的结果是所有大于字段'pingjgz'中最小数的值,... 阅读全文
posted @ 2015-10-27 21:32 锿咚公爵 阅读(10274) 评论(2) 推荐(0) 编辑