Use executemany method when insert date into database.