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
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