Untitled

mail@pastecode.io avatar
unknown
plain_text
24 days ago
237 B
4
Indexable
Never
SELECT 
    e.EMPID, 
    e.EMPNAME, 
    d.DEPTNAME, 
    s.BASIC
FROM 
    employee_info e
JOIN 
    dept_info d ON e.DEPTID = d.DEPTID
JOIN 
    salary_info s ON e.EMPLOYEE_CATEGORY = s.EMPLOYEE_CATEGORY
WHERE 
    d.DEPTNAME = 'HR';
Leave a Comment