比较两个列,只留下不匹配的值
Question is pretty self explanatory. I have two columns (num1, num2) and I just want to return the values that do not match (and not the others):
So the ideal return is simply 2,3,4,5
Edited for clarity**
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用:
或者如果您要对其进行排序:
或者如果您想要它关节:
use:
or if you want it sorted:
or if you want it joint:
您也可以在此特定上下文中使用可选的[准确一次]唯一的参数来实现相同的事物:
然后,如果需要,可以对此进行排序/连接。
You could also use the optional [exactly once] argument of UNIQUE to achieve the same thing in this particular context:
This can then be sorted/joined if required.