Oracle:
select rownum, name, sex, age
from examdataset
where sex = 'M'
and rownum between 100 and 200
SybaseIQ:
select rownum = NUMBER(*), name, sex, age
from examdataset
where sex = 'M'
and rownum between 100 and 200
'프로그래밍 > SQL, Hive, SAS 관련 정보' 카테고리의 다른 글
[SQL 기초] Oracle DB환경 (3) | 2024.10.24 |
---|---|
[SQL/Oracle] 문자열 칼럼 Pivot (0) | 2022.01.23 |
[SAS] Macro 변수와 마침표(Period) (0) | 2022.01.08 |
[SAS] Calculated 함수 (0) | 2021.11.20 |
[SQL] Subquery 사용 시 주의점 (2) | 2021.11.20 |