1.2.3.5.Copy Table with INSERT INTO SELECT

  • 當新建的空table與原本的table欄位不合時, 可以指定select出來的欄位以及欲插入的欄位

insert studentsbackup(id, firstname, lastname, email) select id,firstname,lastname,email from studentsdetails;

Last updated

Was this helpful?