How do you avoid column name conflicts?

前端 未结 8 1145
挽巷
挽巷 2021-01-05 12:35

I was recently assigned a task of creating an auction system. During my work, I met numerous occasions where my SQL queries that contained joins failed to execute due to amb

8条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-05 13:21

    You need to use AS alias.

    You can give a table or a column another name by using an alias. This can be a good thing to do if you have very long or complex table names or column names.

    An alias name could be anything, but usually it is short.

提交回复
热议问题