SQL - INNER JOIN
What will be the output of this query?
Assuming
SELECT e.name, d.department FROM employees e INNER JOIN departments d ON e.dept_id = d.id WHERE d.location = 'NY';
Assuming
departments has locations and employees have matching dept_id.