update table_b b
set b.column_aaaa=(select a.column_aaaa from table_b a where
a.username='test2')
where b.username='test1'
등록일: 2002-01-28 10:50:26
set b.column_aaaa=(select a.column_aaaa from table_b a where
a.username='test2')
where b.username='test1'
등록일: 2002-01-28 10:50:26
'DB' 카테고리의 다른 글
[DB] decode함수 예제 (0) | 2009.03.19 |
---|---|
[DB] 기존 data 이용 테이블 생성 또는 입력 (0) | 2009.03.19 |
[DB] select join (0) | 2009.03.19 |
[DB] 현재시간과 DB시간 비교 (0) | 2009.03.19 |
[DB] null 체크 문 (0) | 2009.03.19 |