【发布时间】:2014-05-04 03:49:59
【问题描述】:
为什么我不能在子查询中使用 select first?这里我有一些抛出异常的伪选择:Cannot use 'first', 'limit' or 'skip' in this context.
我不明白为什么。我想选择前 10 个 ID,然后在该集合中的其他表行中选择
select * from Table1 where ID in ( select first 10 ID from Table2)
我应该如何重写这个选择?
【问题讨论】: