Oracle에서 substr은 이렇게 활용한다. 예로서 Students 라는 테이블에 아래와 같이 레코드가 정의되어있다고 가정하면 각각의 쿼리 결과물은 이렇다. // 1) select substr(name, 2) from students; // result is 'teven' // 2) select substr(name, 2, 2) from students; // result is 'te' // 1) select substr(name, -2) from students; // result is 'en' // 2) select substr(name, -2, 1) from students; // result is 'e' 그리고 이건 기억하기 위한 메모. 쿼리 결과를 정렬할 때 order by substr와 같..