태터데스크 관리자

도움말
닫기
적용하기   첫페이지 만들기

태터데스크 메시지

저장하였습니다.

- 특정 시간이후의 데이터를 선택(head005는 sysdate)
select * from mdm_if_material where head005 > to_date('200808122018','yyyymmddhh24mi') order by head005 desc

- 선택한 데이터중에서 가장 최근의 데이터 1개만 선택(head005는 sysdate)
select * from (select * from eai.mdm_if_material_vl_exp where prop001='testData' order by head005 desc) where rownum = 1
이올린에 북마크하기(0) 이올린에 추천하기(0)

'프로그래밍 > db' 카테고리의 다른 글

오라클 쿼리  (0) 2008/08/12
DB 에 테이블 복사 하는 방법  (0) 2008/07/24
Posted by 도둑고양이s