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.
我必须在 Sqlite 中总共插入一列。更多的价值是插入我想要所有的增值?
例如列名总插入值 23.0,45.0,56.0 我想插入所有添加的数字。
您可以对 SQL 语句中的值求和:
insert into tableName (total, ....) values (23.0 + 45.0 + 56.0, ...)
就如此容易。