select *from car –select... cade Int not null,列名,类型,是否为空 name varchar(20), 什么类型 sex int, height decimal(18,2) ) go insert into student values(1,'李四',1.85) 添加数据 go selec
* 处理 null值:Select 列名 from 表名 where 列名 is null/is not null; * 排序查询:Select 列名 from 表名 order by 列名 asc/desc; * 分组查询:Select 分组的列名 from 表名 group by 列名; * Having 条件筛选...
SStark_m的博客空值是不占用空间的 mysql中的NULL其实是占用空间的 下面是来自于MYSQL官方的解释: “NULL columns require additional space in the row to record whether ...谷歌翻译:“ NULL列在行中需要额外的空间来记录其值