假设有employees表(包含employee_id、department_id、employee_name)和departmen...
假设有employees表(包含employee_id、department_id、employee_name)和departments表(包含department_id、department_name),查询每个员工所属部门的名称和员工姓名**** Hidden Message *****
SELECT e.employee_name, d.department_name
FROM employees e
JOIN departments d ON e.department_id = d.department_id; select …… join SELECT e.employee_name, d.department_name
FROM employees e
JOIN departments d ON e.department_id = d.department_id; SELECT e.employee_name, d.department_name
FROM employees e
JOIN departments d ON e.department_id = d.department_id; SELECT e.employee_name, d.department_name
FROM employees e
JOIN departments d ON e.department_id = d.department_id; SELECT e.employee_name, d.department_name
FROM employees e
JOIN departments d ON e.department_id = d.department_id;
页:
[1]