문자열 조회
해당 글에서는 숫자(10)만 조회했으나, 문자열을 조회하는 방법에는 3가지가 있다.
문자열%
- 백곰% : '백곰'으로 시작하는 데이터 조회
%문자열
- %수염 : '수엽'으로 끝나는 데이터 조회
%문자열%
- %백곰수염% : '백곰수염'을 포함하는 데이터 조회
select * from all_tables; # 모든 테이블의 모든 컬럼을 조회

* = 전체 컬럼select table_name, pct_free, pct_used, max_trans from all_tables;

select table_name, pct_free, pct_used, max_trans from all_tables
where pct_free like '10';

select * from all_tables
where pct_free like '10';

select pct_free, pct_used from all_tables
where pct_free like '10' and pct_used like '40'; # and 또는 or 사용 가능