sql中<>的含义
1、sql中 <> 含义与 != 相似,皆为不等于的意思2、具体使用案例:<1> !=select * from t_studentwhere age !=12 and age !=23;<2> <>select * from t_studentwhere age <>'23'and age <>'12'二者查询结果相同3、t
·
1、sql中 <> 含义与 != 相似,皆为不等于的意思
2、具体使用案例:
<1> !=
select * from t_student
where age !=12 and age !=23;
<2> <>
select * from t_student
where age <>'23'and age <>'12'
二者查询结果相同
3、tips
多个值使用and拼接
更多推荐
已为社区贡献1条内容
所有评论(0)