【发布时间】:2019-12-30 10:59:24
【问题描述】:
如何将一个查询的输出提供给下一个查询
我的出库mysql_db,员工表我会得到id的
select id from the employee
df['out']
id
0 20017
1 20046
2 20047
... ...
24337 47883
24338 47884
从表一中获取 id 并应用于mysql_db2employee 表,该表是否存在
select * from employee where id in ('df['out']')
【问题讨论】: