[Oracle] SELECT문
캐떠린
SELECT문 DML, DQL(SELECT문만 특별히 DQL이라고도 부른다.) SQL은 SELECT로 시작해서 SELECT로 끝난다. CRUD 중 가장 많이 쓰이는 ‘R’에 쓰이는 명령어가 바로 SELECT문이다. SELECT * FROM 테이블 쿼리문 각 절의 실행 순서: ① FROM절 ② SELECT절 --SQL 형식 [WITH ] SELECT column_list -- 2. 원하는 컬럼을 지정하여 가져와라! FROM table_name -- 1. 데이터소스. 어떤 테이블로부터 데이터를 가져와라! [WHERE search_condition] [GROUP BY group_by_expression] [HAVING search_condition] [ORDER BY order_expresstion [ASC|..