假如数据表表名为tb_user,其中有两个字段:id和username,如果要插入uuid, 只有一句话: INSERT INTO tb_user(id,username) VALUES ( replace(uuid(),'-',''),'张三');