如何使用4个表连接到一个表? [英] how using joins 4 tables to one table?

查看:55
本文介绍了如何使用4个表连接到一个表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有



i有两个表使用连接2个表到一个表ok



但是4可以使用联接表到一张桌子



4桌不同栏



请回复我

Dear all

i have two tables using joins 2 tables to one table ok

but 4 tables to one table using joins is possible or not

4 tables different columns

please reply me

推荐答案

查看以下链接



Cick Me :)


是:

Yes:
SELECT ...
FROM Table1 t1 
JOIN Table2 t2 on t2.ID=t2.ID
JOIN Table3 t3 on t3.ID=t2.OtherID
JOIN Table4 t4 on t4.ID=t3.AnotherID


这篇关于如何使用4个表连接到一个表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆