[6일차] 쿼리 작성
use scott_db; show tables; desc scott_emp; select * from scott_emp; select ename, job, sal from scott_emp; select ename, job, sal from scott_emp where sal >= 1200; # sal 1200이상 조건 select ename,job,sal from scott_emp where job != 'CLERK'; # 데이터는 대문자로 쓰자 select distinct job # 중복제거 from scott_emp; select ename,job,sal from scott_emp where job = 'CLERK'; select ename,job,sal from scott_emp where job..
2022. 6. 27.