【发布时间】:2018-09-25 01:24:05
【问题描述】:
q)tab
items sales prices detail
-------------------------
nut 6 10 "blah"
bolt 8 20 ""
cam 0 15 "some text"
cog 3 20 ""
nut 6 10 ""
bolt 8 20 ""
我只想选择“详细信息”非空的行。看起来相当简单,但不是我无法让它工作。
q) select from tab where count[detail] > 0
这仍然是所有行。
我也试过了
q) select from tab where not null detail
这给了我类型错误。
如何查询KDB中的非空字符串字段???
【问题讨论】:
标签: kdb