In a join, how to prefix all column names with the table it came from

后端 未结 9 1760
你的背包
你的背包 2020-12-08 02:13

I\'m analysing a rather horrible legacy database/codebase, trying to reduce server load by combining queries into joins (including an email alert cron job that typically inv

9条回答
  •  既然无缘
    2020-12-08 02:49

    I've found something usefull in this question MySQL concat() to create column names to be used in a query? . I think that this can be one of the solutions.

提交回复
热议问题