“Ambiguous column name” error on one particular server

前端 未结 6 690
隐瞒了意图╮
隐瞒了意图╮ 2020-12-18 03:18

This simple query throws the \"Ambiguous column name TaskID\" error on one db-server only. This is ridiculous. We tested this with the same database structu

6条回答
  •  北海茫月
    2020-12-18 03:53

    What do you mean you can't? It's clear that both Tasks and TaskHelpers has a column named TaskID. You need to indicate which table the column in the Order By is associated with.

提交回复
热议问题