【发布时间】:2019-01-24 15:45:38
【问题描述】:
这个对应的SQL查询怎么做:
select * from a where (col1, col2) in (select x, y from b)
如果我有
p:([]name:`John`Mary`David`James; age:52 49 18 23; hair:("black";"black";"blonde";"black"); eyes:`brown`brown`blue`brown; aa:("hello";"world";"hi";"there"))
如何使这个查询工作:
select from p where (hair, eyes) in (
select hair, eyes from p where any aa like/:("hello";"hi")
)
【问题讨论】:
-
嗨,你能举一个你期望输出的例子吗?
标签: kdb