Top-level fetch first in views

BigQueryDb2 (LUW)MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite20072009201120132015201720192021⊘ 3.5.7 - 3.39.0⚠ 2017 - 2019bc⊘ 2008R2✓ 8.4+⊘ 8.3✓ 12cR1+⊘ 11gR1 - 11gR2⊘ 5.1 - 8.0.30✓ 10.6+⊘ 5.1 - 10.5⊘ 10.5 - 11.5.7a⊘ 2.0
  1. Use nested query: CREATE VIEW … AS SELECT … FROM (SELECT … FROM … FETCH FIRST …) t
  2. Requires offset (e.g. offset 0 rows)
  3. Requires order by