【发布时间】:2018-05-03 23:20:06
【问题描述】:
使用 RJDBC 库似乎无法重命名 SQL 选择中的列。 有人知道它的解决方法吗?我发现这个 useJDBC4ColumnNameAndLabelSemantics=true 用于 Db2,但不确定它是否可以在 R 中使用。
Select
a.customer,
b.customer as main_customer, <-- returns as customer not main_customer
b.customer_email
from customer a,
main_customer b
where a.customer_id = b.customer_id
【问题讨论】: