我有两张桌子:
和
如何列出表服务并汇集客户表的客户名称?表中的字段customer services 有customer 表中的customer id,
How to list table service and bring together the customer name that the customers table? field customer services in the table has the id of the customer at the customer table,
感谢您的帮助
SELECT * FROM table1 LEFT JOIN table2 on table1.id = table2.id
这篇关于mysql如何加入两个表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!