fetch first … with ties

BigQueryDb2 (LUW)DuckDBH2MariaDBMySQLOracle DBPostgreSQLSQL ServerSQLite20102012201420162018202020222024⊘ 2017 - 2025a⚠ 13 - 18b⊘ 8.4 - 12✓ 12cR1 - 23.26.0⚠ 10.6 - 12.1.2b✓ 1.4.198 - 2.4.240⊘ 1.4.191 - 1.4.197⊘ 1.0.0 - 1.4.0⊘ 9.7 - 12.1.2
  1. Use proprietary select top … with ties
  2. Only for rows, not for percent