select * from sample21;

*(애스터리스크)은 from절에서 입력한 table의 모든 열을 불러오는 메타문자
select와 from은 구를 결정하는 예약어
데이터 베이스 객체명(ex: table명)은 예약어와 동일한 이름 사용 불가
예약어와 데이터베이스 객체명은 대소문자 구분X
테이블명 apple = APPLE
데이터베이스 내의 각 변수 값은 대소문자 구분O
apple 테이블의 컬럼 값 happy ≠ Happy
데이터 형태
desc sample21;

integer형: 정수형
char: 문자열형 - 고정적인 길이
varchar: 문자열형 - 가변적길이
date: 날짜값을 저장할 수 있는 자료형
time: 시간을 저장할 수 있는 자료형
select no, name from sample21;
select no, no from sample21;

select * from sample21 where no=2;
select * from sample21 where no<>2;


select * from sample21 where no=2;
select * from sample21 where no<>2;
