■ ROWID 사용하기

----------------------------------------------------------------------------------------------------

SELECT * FROM Student;

 

CREATE TEMPORARY TABLE IF NOT EXISTS TemporaryStudent

AS

SELECT * FROM Student ORDER BY StudentName DESC;

 

SELECT ROWID, *

FROM   TemporaryStudent

WHERE  ROWID LIMIT 2 OFFSET 2;

 

DROP TABLE IF EXISTS  TemporaryStudent;

----------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요