当没有用 EXISTS 引入子查询时,在选择列表中只能指定一个表达式

来源:互联网 发布:知乎搜索 编辑:程序博客网 时间:2024/05/22 20:32
select   top   10   *   from   temptable 
 where  itemid   not   in 
 (select   top   20  itemid(这个只能为一个数,出现多个会出现"当没有用 EXISTS 引入子查询时,在选择列表中只能指定一个表达式"这个错误)  from   temptable   order   by   itemid   asc)  
order   by   asc
原创粉丝点击