我有一个这样的子查询 with subquery as (select host from table_A where << some condition >>) 在我的主查询中,我从另一个名为table_B的表中查询数据,其中一列名为destination_host。现在我需要检查destination_host是否在从子查询返回的列表中
当我尝试执行我的语句时,我得到一个错误,返回"Subquery return more the value. Not allowed...“,您知道其余的情况。我不擅长使用子查询,事实上,在我看到我想要收集的结果之前,它有时是反复尝试的猜测。谁能给我解释一下为什么它会返回这个错误?SELECT
TP.intPlayerID