merge into 구문 (단일 테이블)

less than 1 minute read

MERGE INTO TBL ca using dual on ( ca.id = :id)

WHEN MATCHED THEN UPDATE SET {$set} WHEN NOT MATCHED THEN INSERT ({$field}) values ({$val})

—=——-


🔗original-link

Updated: