형태

SELECT column_name AS alias_name
FROM table_name;

 

//  CustomerName 을 Customer로 예명을 지어준다.

//  ContactName 을 [Contact Person]로 바까준다.

// Contact Person처럼 공백이있을 경우 대괄호를씀

SELECT CustomerName AS Customer, ContactName AS

[Contact Person] FROM Customers;

 

 

'데이터베이스 > Oracle' 카테고리의 다른 글

Oracle 현재 DB 테이블 확인  (0) 2015.11.13
Oracle 설치없이 오라클 스터디 할 수 있는 웹사이트  (0) 2015.11.09
Oracle Between  (0) 2015.11.07
Oracle 와일드카드  (0) 2015.11.07
Oracle select top & percent  (0) 2015.11.07
블로그 이미지

왕왕왕왕

,