操作数应包含1列

时间:2016-12-12 21:51:10

标签: mysql

虽然我使用以下sql查询输出给我操作数应该包含一列是否有任何方法可以解决它

String sql5 = "select distinct words.word from sentence.words where words.word not in ((select countries.country, horoofs.horoof from sentence.horoofs,sentence.countries))"; 

1 个答案:

答案 0 :(得分:0)

您只能在下面的Statement中选择一列。

 ((select countries.country, horoofs.horoof from sentence.horoofs,sentence.countries))