MySQL Need help constructing query: join multiple tables into single row

后端 未结 3 1862
走了就别回头了
走了就别回头了 2021-01-13 17:55

Forgive me if this question has been asked and answered, I\'ve searched and found a few that look similar but I\'m too much of a novice with SQL to adapt them to my needs. A

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-13 18:17

    You won't be able to get your result exactly as you want to at least because you have columns with the same names. Probably you may be able to get this result having the columns renamed but this approach will lead to hacky code and inability of proper result usage.

    You should reconsider the further use of the records returned and update it in order to process the actual result as soon as it is the way SQL select should return data normally.

提交回复
热议问题