查询所有员工的姓名,部门号和部门名称查询所有员工的姓名,部门号和部门名称
脑补出来的SQLselect emp.name,emp.deptid,dept.id from emp,dept where emp.deptid=dept.id