SQLite现在有CTE,文档说你可以使用它来插入,更新和删除查询 - 但只提供了select语句的例子.
我可以通过insert-select弄清楚CTE如何应用于插入; 但是如果没有from-clause,我们如何在更新或删除中使用它们呢?
My use case starts from something a lot like this; a team uses a central repository (in my case it is subversion, but I believe if it were git the issue would be the same), and some of the files are member-private (Django local settings files, IDE private project preferences etc). While the private file should remain private -- that is, I don't want changes I make to it to be pushed or dcommitted -- I do want the …