Ambiguous column name error

前端 未结 5 2148
孤街浪徒
孤街浪徒 2020-12-07 01:48

When executing the following (complete) SQL query on Microsoft SQL Server 2000:

SELECT B.ARTIFACTTNS, B.ARTIFACTNAME, B.ARTIFACTTYPE, B.INITIALBYTES, B.TIMES         


        
5条回答
  •  無奈伤痛
    2020-12-07 01:55

    You need to specify the tables in the ORDER BY clause, like this:

    ORDER BY A.ARTIFACTTYPE, A.ARTIFACTTNS, A.ARTIFACTNAME
    

提交回复
热议问题