标签: database db2
我使用连接到DB2数据库的AQT。我试图在类型和长度完全相同的列(varchar2)上连接2个表,它们是NULLABLE且不是唯一的。
select count(*) from table1 a inner join table2 b on a.column1 = b.column1
结束我得到的错误是" a.column1在使用的上下文中无效"
因为这些列不是键,NULLABLE而且不是UNIQUE还是还有别的东西?