240207 DB - 고급 Subquery 2, DML 1
고급 subquery 3. 단일컬럼 서브쿼리 서브쿼리로부터 메인쿼리로 단일 컬럼을 기준으로 값(단일행, 다중행)이 반환되는 유형 메인쿼리 좌변에 단일컬럼이 있으면 됨 = 비쌍 비교 방식 select employee_id, manager_id, department_id from employees where manager_id in (select manager_id from employees where employee_id in (174,141)) and department_id in (select department_id from employees where employee_id in (174,141)) and employee_id not in (174,141); 단일 컬럼 서브쿼리 + 다중행 서브쿼리 4..