H2 update with join
问题 As development DB I am using MySQL, and for tests I am using H2 database. The following script works in MySQL very well, but it is fails on H2. UPDATE `table_a` JOIN `table_b` ON `table_a`.id=`table_b`.a_id SET `table_a`.b_id=`table_b`.id In the internet I found that h2 doesn't support UPDATE clause with JOIN . Maybe there is a way to rewrite this script without JOIN clause? By the way, I am using liquibase. Maybe I can write UPDATE clause with it's xml language? I tried the following script