如何使用RMySQL:: dbSendQuery?
使用SQL:
select * from mydb1.table as A left join mydb2.table as B on A.id=B.id
使用R:
get_db1_data <- RMySQL::dbSendQuery(mydb1,"SELECT * FROM table")
get_db2_data <- RMySQL::dbSendQuery(mydb2,"SELECT * FROM table")
如何将这两行代码与RMySQL :: dbSendQuery结合使用?