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 数据库,其中有两列的值,例如 4356982,我想用 43.56982 修改所有这些,有一个 sqlite 命令可以让这变得简单快捷吗?我认为 UPDATE 命令就像
UPDATE table SET col1,col2
但在条件?????
UPDATE MyTable SET col1 = col1 / 100000.0, col2 = col2 / 1000000.0
(注意使用正确的比例因子。)