Update Document with Other document's data

Suppose I have two document type
denso{
id:1,
type: denso,
name: montu,
clear_id :1
}
clear{
id:1,
type: clear
email: mkb@mail.com
}
Now i want update my "denso " document with “clear” document’s email…for example after updating “denso” my document will be like :
denso{
id:1,
type: denso,
name: montu,
clear_id :1,
clear_email: mkb@mail.com
}…how to run this update query…

Use MERGE statement
https://docs.couchbase.com/server/4.1/n1ql/n1ql-language-reference/merge.html