- 博客(2)
- 收藏
- 关注
原创 24考研 c语言 数据类型 (整形int 浮点型float字符型char)
"cabsd"所占内存不是5个字符,是6个字符,大小6字节。字符串型("a" "3cs" "abc")双引号。字符型('a' 'd' '2' )单引号。指数形式 4e-3(4的-3次幂,即0.004)'a'是字符型常量,"a"是字符串型常量,要区别。字母e前后必须有数字,后面的数字必须为整数。整形、(100、2、3、4) 4字节。是字符型常量,例如'a' ,'b'C语言以'\0'作为字符串结束标志。浮点型(7.54、4.5)4字节。变量名不能与关键字同名。5.浮点型(4字节)
2022-11-03 12:28:01
336
原创 is null关键字的空值查询和like 关键字查询
is null关键字的空值查询带is null关键字的空值查询select*from course where cname='';select*from course where cname is nulllike 关键字查询like “字符串”select snamefron student where sname='吴小梅';select snamefron student where sname like '吴小梅';第二个字是 小 查询
2022-10-26 11:40:45
272
2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅