Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
考虑两个数据帧,dataFrame1并且dataFrame2:
dataFrame1
dataFrame2
(colmn1, ..., colmnN)
(col1, col2, col3)
我可以写这样的声明:
Select colmn1, colmn2, ..., colmnN, col1, col2 from dataFrame1, dataFrame2
使用RMySQL?
RMySQL
也许你想要包sqldf。
sqldf
尝试这个:
library("sqldf") sqldf("select colmn1, colmn2, ..., colmnN, col1, col2 from dataFrame1, dataFrame2")
当然,您必须...用实际的列名替换。
...