CREATE TABLE a(
    NAME INT,
    age int    
);
CREATE TABLE b(
    height INT,
    weight int    
);
INSERT INTO a VALUES (1,2);
INSERT INTO b VALUES (2,3);
SELECT * FROM a;
SELECT * FROM b;
SELECT * FROM a;
update a s, b c
   set s.name = c.height
 where s.age = c.height;

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-01
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-29
  • 2022-12-23
  • 2021-07-22
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案