MySQL single statement to merge two tables

前端 未结 5 896
傲寒
傲寒 2021-01-24 04:01

I\'m sure this has been ask/answered already but I don\'t know how this kind of action is called and my SQL knowledge is limited.

I\'m searching for a single SQL statem

5条回答
  •  北荒
    北荒 (楼主)
    2021-01-24 04:50

    You want to use a JOIN-statement and use the ID and user_id as the subjects.

提交回复
热议问题