我建立 packag 資料夾 3種Table A,B,C
1.id | name | password | UserName | UserPhone A
2.id | name | classProject | thingGet2 | thingGet1 B
3.id | name | classProject | thingGet3 | thingGet4 C
我該如何讓資料可以順利查詢
下面是我要的資料
name | classProject | thingGet2 | thingGet1 | thingGet3 | thingGet4 | UserName | UserPhone
該如何select
反之
一筆資料 同上 如何以一次的 Insert 存入
(未回答之前~先行感謝)
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
select a.name
,b.classProject,b.thingGet2,b.thingGet1,c.thingGet3,c.thingGet4,a.usernme,a.userphone
from a left join b on a.name=b.name left join c on a.name=c.name