How to update the first row of a table in dolphindb?

Viewed 12

Does anyone know how to write the where conditions for the first row for dolphindb?

update table set x=100 where ?
1 Answers

you can use the dolphindb function rowNo:

update t set x=100 where rowNo(x)=0
Related