Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从 DolphinDB 数据库中的 SELECT 语句生成向量?看起来 SELECT 语句总是生成一个表,即使只选择了一个列。
使用 exec 而不是 select。请参见下面的示例。
t = table(1 2 1 2 3 as id, 1..5 as value) exec distinct(id) as id from t order by id