Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Mathias Rangel Wulff edited this pageJun 12, 2015 ·2 revisions

KeywordROWNUM

Has the aliasROW_NUMBER

You can receive number of result record in the recordset like in this example:

alasql('CREATE TABLE one (a INT PRIMARY KEY)');for(vari=1;i<1000;i++){alasql('INSERT INTO one VALUES (?)',[i]);};varres=alasql('SELECT * \    FROM (SELECT a, ROWNUM() AS r FROM one)\    WHERE r BETWEEN 55 AND 60');

You can try this examplein jsFiddle

© 2014-2026,Andrey Gershun &Mathias Rangel Wulff

Please help improve the documentation by opening a PR on thewiki repo

Clone this wiki locally


[8]ページ先頭

©2009-2025 Movatter.jp