Employees With Missing Information Solution MySql
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n# Complexity\n- Time 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\n# Write your MySQL query statement below\nselect e.employee_id\n    from Employees e\n    left join Salaries s\n    using(employee_id)\n    where salary is null\nunion all\nselect s.employee_id\n    from Employees e\n    right join Salaries s\n    using(employee_id)\n    where name is null\norder by employee_id;\n```
['Database', 'MySQL']