学习SQL的点点滴滴(四)-UPDATE小计时间:2023-03-09 19:19:04 1、更新tb_card中c_customer字段的值等于tb_customer表中c_no的值 update tb_card set c_customer=ct.c_no from tb_customer ct where tb_card.c_cardno=ct.c_no