我如何将以下语句从MySQL-ese转换为SQLite-ese?
UPDATE Attribute, Name SET Attribute.AttValue = 'foobar' WHERE Attribute.NameID = Name.NameID AND Name.Name = 'rotate_ccw'
看起来SQLite不支持UPDATE语句中的连接.
UPDATE Attribute SET Attribute.AttValue = 'foobar' WHERE Attribute.NameID = (SELECT Name.NameID FROM Name WHERE Name.Name = 'rotate_ccw')