2015年1月13日
摘要: 一、数据类型:整数:int,bigint,smallint小数:float,real,decimal(长度,精度),numeric(长度,精度)字符:char(n),varchar(n) 8000英文字符,4000汉字 text——大文本。逻辑:bit 0,1/true/false二进制类型:bin... 阅读全文
posted @ 2015-01-13 14:33 酸甜sky 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 简单查询:一、投影select * from 表名select 列1,列2... from 表名select distinct 列名 from 表名二、筛选select top 数字 列|* from 表名(一)等值与不等值select * from 表名 where 列名=值select * fr... 阅读全文
posted @ 2015-01-13 14:30 酸甜sky 阅读(179) 评论(0) 推荐(0) 编辑