How to limit result set size for arbitrary query in Ingres?

前端 未结 4 1113
小蘑菇
小蘑菇 2021-01-19 14:55

In Oracle, the number of rows returned in an arbitrary query can be limited by filtering on the \"virtual\" rownum column. Consider the following example, which

4条回答
  •  遇见更好的自我
    2021-01-19 15:28

    Hey Craig. I'm sorry, I made a Ninja Edit. No, Limit 10 does not work, I was mistaken in thinking it was standard SQL supported by everyone. Ingres uses (according to doc) "First" to solve the issue.

提交回复
热议问题