【发布时间】:2022-01-13 22:57:24
【问题描述】:
【问题讨论】:
【问题讨论】:
假设这两个表是 t1 和 t2。
左表为t1,包含a、b、c列;右表是 t2,包含列 a 和 b。
在 DolphinDB 中有两种方法可以获得所需的输出:
方法一:
select t1.*,t2.* from lj(t1, t2, `a`b) where isNull(t2.a)
或方法2:
s = set(string(t2.a)+string(t2.b))
select * from t1 where not string(t1.a)+string(t1.b) in s
【讨论】: