---
title: "update select"
author: "lanxin1985"
date: "2010-06-22T16:00:01Z"
tags: []
categories: ["企业架构"]
slug: "update-select"
draft: false
lastmod: "2010-06-22T16:00:01Z"
id: 696577
url: "https://lanxin1985.iteye.com/blog/696577"
---

update (select a.value col1,b.district col2 from  crm\_lifecycle\_property a,temp\_district b where a.cust\_id = b.cust\_id  
   and a.detail\_id = 'F91334D8BA7641B2832E773327C5BBE0') set col1=col2