[英]Extract columns from two different database in sqlite3
Is it possible to extract columns from two different database in sqlite3?是否可以从 sqlite3 中的两个不同数据库中提取列?
My problem is, I have two tables in two different database and I want to retrieve columns from tables from these two database.我的问题是,我在两个不同的数据库中有两个表,我想从这两个数据库的表中检索列。
To make it more clear, here is my pseudocode.为了更清楚,这是我的伪代码。
"SELECT Table_FromFirstDatabase.product
FROM MyFirstDatabase.Table_FromFirstDatabase
WHERE product NOT IN ('SELECT Table_FromSecondDatabase.product
FROM MySecondDatabase.Table_FromSecondDatabase');"
Is it possible to do something like this in sqlite3??有可能在 sqlite3 中做这样的事情吗?
Thank you....谢谢....
No. It's probably better for you to pull the data in a local list/array anyways.不。无论如何,您最好将数据提取到本地列表/数组中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.