728x90
1. NULL
- 데이터의 정의가 없는 것
- 알 수 없는 값
- null과의 연산 결과는 무조건 null
2. NULL 조회
조건절(where 절)에 is null 또는 is not null 사용
SELECT *
FROM user
WHERE phone is (not) null
3. 문자 함수
- lower / upper
- length
- substr
- instr
- lpad / rpad
- trim / ltrim / rtrim
- replace
4. 숫자 함수
- round
- truncate
- ceil / floor
- power
5. 날짜 함수
- sysdate, systimestamp
- add_months, next_day, last_day
- ceil / floor
728x90