select s.emp_no,s.salary,s.from_date,s.to_date,d.dept_no from salaries s left join dept_manager d on s.to_date=d.to_date group by s.emp_no order by s.emp_no asc; 报错 ERROR 1055 (42000): Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'school.s.salary' ...