Hi @Chao Yang ,
Welcome to the microsoft TSQL Q&A forum!
Sorry, I am not familiar with sqlserver compact, and I have not found a relevant forum to help you.
But I found some solutions, maybe it can help you:
UPDATE on two INNER JOINed tables in SQL Server Compact 4
How to do Sql Server CE table update from another table
If you have any question, please feel free to let me know.
If the response is helpful, please click "Accept Answer" and upvote it.
Regards
Echo
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.