How to combine results from multiple tables with different columns?

前端 未结 5 1903
北恋
北恋 2020-12-16 05:42

I have several tables with different numbers and types of columns, and a single column in common.

+--------+---------+------------+-------------+
| person |          


        
5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-16 05:54

    Join on person....

    I.e.

    Select t1.(asterix), t2.(asterix) FROM beards t1 INNER JOIN moustaches t2 On t2.person = t1.person

提交回复
热议问题