Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有很多列的表 1。我想复制所有类别 = 16 的行,但我希望复制的行类别 = 17。执行此操作的正确查询是什么?谢谢。
insert into Table1(category, Column1, Column2) select 17, Column1, Column2 from Table1 where category = 16