相关疑难解决方法(0)

合并来自两个不同数据库的表 - sqlite3/Python

我有两个不同的SQLite数据库XXX和YYY.XXX包含表A,YYY分别包含B. A和B具有相同的结构(列).如何在Python中附加A的行 - SQLite API.附加A后包含A行和B行.

python sqlite api merge

2
推荐指数
1
解决办法
5191
查看次数

Merging two tables in sqlite from different database

I need to merge two tables in sqlite based on a common column. The problem is both the tables belong to different databases. So, what would be an efficient way to merge the tables here?

A sample table would be like this with the desired result. But the problem is these two tables are in different databases.

Table 1: Employee_Pro_Profile
Columns: Emp_Id, Emp_Name, Emp_Sal

Table 2: Employee_Personal_Profile
Columns: Emp_Id, Emp_Home_Address, Emp_Phone

Resulting Table: Employee_Complete
Columns: Emp_Id, Emp_Name, Emp_Sal, Emp_Home_Address, Emp_Phone
Run Code Online (Sandbox Code Playgroud)

sql vb.net sqlite

1
推荐指数
1
解决办法
5008
查看次数

标签 统计

sqlite ×2

api ×1

merge ×1

python ×1

sql ×1

vb.net ×1