显示 MYSQL 表和/或 R 对象中存在的数据
我认为这是一个常见问题,回答了好几次,但我只是不知道如何
在 MySQL 中提出正确的问题 =(:
我有 2 个表,里面有某种字符串,现在我想要:
1.两个表中都出现的数据
2. a中不在b表中的数据
在R中相同:
我有 2 个 R data.frame 并且我想要:
1.a和b中出现的数据
2. a中出现但b中不出现的数据
i think its an regular problem, answered several times, but I just don't know how to ask the question right =(
in MySQL:
i have 2 tables with some kind of strings inside, now i want:
1. the data that occur in both tables
2. the data from a that is not in table b
same in R:
i have 2 R data.frame s and i want:
1. the data that occur in a and b
2. the data that occur in a but not in b
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 R 中:
In
R
:在mysql中,您可以执行此操作来获取两个表中的数据
,并执行此操作以从a中获取不在表b中的tada
in mysql you could do this to get the data in both tables
and do this to get the tada from a that is not in table b