我们可以对两个不同的数据库表使用join吗? [英] Can we use join for two different database tables?

查看:1057
本文介绍了我们可以对两个不同的数据库表使用join吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们可以对来自不同数据库的两个表使用连接操作吗?如果是,那么如何做?



两个数据库在同一个服务器上,DBMS是相同的。

解决方案

这是连接的工作原理。您需要在两个表格之间有共同点才能加入...



阅读这篇有关代码项目的文章将会帮助您:。


Can we use the join operation for two tables from different databases? If yes, then how to do ?

Both databases are on the same server and DBMS is the same.

解决方案

This is how joins work. You need to have something common between two table to join them...

Reading this original article on The Code Project will help you a lot: Visual Representation of SQL Joins.

Find original one at: Difference between JOIN and OUTER JOIN in MySQL.

这篇关于我们可以对两个不同的数据库表使用join吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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