메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


mariadb update 샘플

총관리자 2018.03.12 14:34 조회 수 : 1030

update aa s

 set s.name = (select concat(x.name, x.age) from aa_src x where x.age= 10 and s.seq=x.seq)

where 

exists (select 1 from aa_src x where x.age = 10 and x.seq=s.seq);

위로