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.
我有一个包含 3 列、ID、描述和键的表,其中 ID 不是主键!我想要的是插入或更新/替换当前记录。示例:decryptionKeys ID 描述密钥 999 生日 24.12.1988
我试过这个,但它不会工作:
INSERT OR REPLACE INTO decryptionKeys VALUES ("999","Birthday","25.12.1988") WHERE ID="999" AND Description="Birthday"
离开 thr where 子句
INSERT OR REPLACE INTO decryptionKeys VALUES ("999","Birthday","25.12.1988")