📅  最后修改于: 2022-03-11 15:05:34.329000             🧑  作者: Mango
UPDATE tableA a
INNER JOIN tableB b ON a.name_a = b.name_b
SET validation_check = if(start_dts > end_dts, 'VALID', '')
-- where clause can go here