For eliminate other causes, I copy from www.sqlite.org/windowfunctions.html that codes and pasted:
CREATE TABLE t0(x INTEGER PRIMARY KEY, y TEXT);
INSERT INTO t0 VALUES (1, 'aaa'), (2, 'ccc'), (3, 'bbb');
SELECT x, y, row_number() OVER (ORDER BY y) AS row_number FROM t0 ORDER BY x;
Still I have same error:
near "(": syntax error: SELECT x, y, row_number() OVER (.
I use Python 3.7 and sqlite 3. Help please!