MySQL insert into table with auto-increment while selecting
經安全檢測,此網站為安全網站,請放心前往原始網址!
MySQL insert into table with auto-increment while selecting
2013年7月21日 - You simply set the primary key to NULL during the insert. insert into rt_table NULL, select rt_user_id, (select user_name from users u where u.user_id ...