SQL部分语法总结(一)
函数isnull(check_expression , replacement_value )
查询没有邮箱且年龄大于20岁的教师信息:
select * from teachers
where email is null and age>20;
select id,name, email,age,country
from teachers
where isnull(email) and age > 20
limit函数
第二高的球员的身高
select ifnull((sel
原创
2022-02-11 21:17:49 ·
570 阅读 ·
0 评论