RPostgreSQL - 嵌套选择

时间:2017-05-18 14:59:56

标签: sql r rpostgresql

我想:

dbGetQuery(conn, "SELECT * FROM test WHERE id in (select fid from test2)")

然而,我收到错误:

 RS-DBI driver: (could not Retrieve the result : ERROR:  column "fid" does not exist

RPostgreSQL不支持嵌套选择吗?

0 个答案:

没有答案