MySQL_review : 조건식, 관계 연산자
select → where (조건식) -- 급여가 1500보다 크거나 같은 데이터를 조회. select * from employee where salary >= 1500; -- 스콧의 이름을 가지고 있는 데이터를 조회. select * from employee where enmae = 'scotte'; -- 입사날짜가 1981-01-01 이전의 데이터를 조회 select *from employee where hirdate < '1981-01-01'; -- 이름, 급여, 연봉 테이터를 조회 select ename, salary, salary * 12 from employee; -- 이름, 급여, 연봉(as를 써줌으로써 연봉으로 변경) 테이터를 조회 select ename, salary, salary * 1..
2024.04.02