0
我需要更新一個像這樣的單元格「12,3,54,66,43」(5個逗號在單行中的數字) - 數字需要是隨機的,範圍在1 -100MySQL隨機數+字符串更新行
這裏是SQL我試圖
UPDATE `mobilelk_funzone`.`feature_wallpaper` SET `wallpaper` = FLOOR(1 + RAND() * 100) + "," +FLOOR(1 + RAND() * 100) + ","+FLOOR(1 + RAND() * 100) + ","+FLOOR(1 + RAND() * 100) + ","+FLOOR(1 + RAND() * 100) + "," WHERE `feature_wallpaper`.`id` = 1;
但這僅返回數量不和「」
您的標記是錯誤的啓動器。 – Option