• MYSQL
    1. SELECT ID FROM MY_TABLE LIMIT 5, 10
    • MARIADB
    1. SELECT ID FROM MY_TABLE LIMIT 5, 10
    • H2
    1. SELECT ID FROM MY_TABLE LIMIT 5, 10
    • CLICK_HOUSE
    1. SELECT ID FROM MY_TABLE LIMIT 5, 10
    • DERBY
    1. SELECT ID FROM MY_TABLE OFFSET 5 ROWS FETCH NEXT 10 ROWS ONLY
    • HSQL
    1. SELECT ID FROM MY_TABLE OFFSET 5 ROWS LIMIT 10
    • INFORMIX
    1. SELECT SKIP 5 FIRST 10 ID FROM MY_TABLE
    • ORACLE
    1. SELECT * FROM (SELECT TMP_PAGE.*, ROWNUM RN
    2. FROM (SELECT ID FROM MY_TABLE) TMP_PAGE) WHERE RN > 5 AND RN <= 15
    • DB2
    1. SELECT * FROM (SELECT TMP_PAGE.*, ROW_NUMBER() OVER() AS RN
    2. FROM (SELECT ID FROM MY_TABLE) AS TMP_PAGE) WHERE RN > 5 AND RN <= 15
    • SQL_SERVER2005
    1. SELECT * FROM (SELECT TMP_PAGE.*, ROW_NUMBER() OVER() AS RN
    2. FROM (SELECT ID FROM MY_TABLE) AS TMP_PAGE) WHERE RN > 5 AND RN <= 15
    • ORACLE12
    1. SELECT ID FROM MY_TABLE OFFSET 5 ROWS FETCH NEXT 10 ROWS ONLY
    • POSTGRE_SQL
    1. SELECT ID FROM MY_TABLE LIMIT 10 OFFSET 5
    • SQLITE
    1. SELECT ID FROM MY_TABLE LIMIT 10 OFFSET 5
    • SQL_SERVER2012
    1. SELECT ID FROM MY_TABLE OFFSET 5 ROWS FETCH NEXT 10 ROWS ONLY
    • FIREBIRD
    1. SELECT ID FROM MY_TABLE ROWS 5 TO 15