- UID
- 3
- 阅读权限
- 50
- 回帖
- 242
- 喵币
- 0
- 有爱
- 51
- DKP
- 2051
- 金币
- 10300
- 在线时间
- 1879 小时
- 注册时间
- 2016-6-3
- 最后登录
- 2026-1-25
声望: 1409   虚弱: 0

Lv.5(无冕者)
      
|
发表于 2021-7-30 13:26:29
|
显示全部楼层
本帖最后由 hjwade 于 2021-7-30 13:39 编辑
报错SQL: replace into gb_player_rank(Account,PlayerName, RankValue,RankType) select b.account, b.`name`,sum(achievementpoint) as points,'成就' from 335c.character_achievement a inner join 335c.characters b on a.guid = b.guid inner join 335w.dbc_Achievement c on a.achievement = c.achievementid GROUP BY b.`name`order by points desc;
ERROR: [1055] Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column '335c.b.account' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Unhandled MySQL errno 1055. Unexpected behaviour possible. |
|