Professional Documents
Culture Documents
(
EMP_ID INTEGER,
EMP_NAME VARCHAR(30)
);
sel * from EMPLOYEES where EMP_ID in(sel EMP_ID from LOCATION where
EMP_ID='101');
sel * from LOCATION where EMP_ID NOT IN(sel EMP_ID from EMPLOYEES where
EMP_ID='101');
select * from Employees where emp_id in(select emp_id from location where
EMP_ID in(select emp_id from Salary where EMP_SAL='50000'));
sel current_date;
sel current_time;