标签: android sqlite
在Android中,是否可以使用左连接执行更新查询?
示例:UPDATE fldMaster LEFT JOIN fieldsectionmap ON master_fldId = fieldsec_fieldid SET sortOrder = sortOrder - 1 WHERE fieldsec_secid = 100207 AND sortOrder BETWEEN 39 AND 59
UPDATE fldMaster LEFT JOIN fieldsectionmap ON master_fldId = fieldsec_fieldid SET sortOrder = sortOrder - 1 WHERE fieldsec_secid = 100207 AND sortOrder BETWEEN 39 AND 59
答案 0 :(得分:1)
您可以将查询重写为以下内容:
source