SQLite Forum

ExecuteNonQuery returns wrong number of affected elements
Login
On rereading I found the following limitation: "Even though a DML statement with a RETURNING clause returns table content, it cannot be used as a subquery. The RETURNING clause can only return data to the application."