"select basic.emploree,avg(basic.mark) from Basic basic group by basic.emploree order by avg(basic.mark) desc";
emploree是实体类
emploree和basic是一对多
执行后报emploree.id不在group by子句
这里是没设置主键吗