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

前端 未结 4 1055
小蘑菇
小蘑菇 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:49

    Blatantly changing my answer. "Limit 10" works for MySql and others, Ingres uses

    Select First 10 * from myTable
    

    Ref

提交回复
热议问题