INSERT INTO tbl_image_language ( code, docomo_cd, au_cd, softbank_cd ) SELECT DISTINCT((SELECT max(code ) + 1 FROM tbl_image_language)) ,docomo_cd,au_cd,softbank_cd FROM tbl_image_language
时间: 2024-11-10 14:16:17
INSERT INTO tbl_image_language ( code, docomo_cd, au_cd, softbank_cd ) SELECT DISTINCT((SELECT max(code ) + 1 FROM tbl_image_language)) ,docomo_cd,au_cd,softbank_cd FROM tbl_image_language