IT/DB
[DATABASE] IN/SOME/ANY/ALL/EXISTS 함수
ANY/SOM - ANY/SOME은 IN과는 달리 '=' 이외의 다른 연산자를 활용 할 수 있음. - ANY/SOME은 기능이 동일 SELECT employee_id, salary FROM employees WHERE salary IN (2000, 3000, 4000); -- '='으로만 연산 SELECT employee_id, salary FROM employees WHERE salary >= ANY (2000, 3000, 4000); SELECT employee_id, salary FROM employees WHERE salary >= SOME (2000, 3000, 4000); SELECT employee_id, salary FROM employees WHERE salary >= ALL(2000, ..