- 博客(3)
- 收藏
- 关注
原创 sqlzoo 练习题 SELECT from Nobel Tutorial中14题(order by 与 in 同时使用时的排序问题)
参考链接指路: https://blog.youkuaiyun.com/bestallen/article/details/53726192.目录ORDER BY配合IN语句ORDER BY配合IF语句ORDER BY配合IN语句14.The expression subject IN (‘Chemistry’,‘Physics’) can be used as a value - it will be 0 or 1.Show the 1984 winners and subject ordered by su
2021-01-12 10:34:37
1014
1
原创 逻辑操作符 and or not xor 比较
逻辑操作符 and or not xor 比较1 and表示两个条件都满足时才会返回结果2 or表示其中任意一个条件满足则返回结果3 not当不满足条件时才会返回结果4 xor当其中一个条件为真,另一个条件为假时才会返回结果可以使用括号改变逻辑操作的优先级详细讲解一下not 和 xor一 not经常和其它操作符一起使用。例如:not in、not between 、not like、is not null例: 得到那些未住在Stratford的球员的编号、姓名select playerno
2021-01-08 14:16:39
1752
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人