UPDATE whatever_table SET whatever_col = SUBSTRING(MD5(RAND()) FROM 1 FOR 12) ..。现在,类似地,我希望为表中的所有记录添加一个字母数字'PIN‘(永远只有几百条记录)。“PIN”应为字母数字,但应排除“1”、“0”、“O”、“l”等。谁能告诉我如何更新上面的查询以排除这些不明确的字符? 提亚
我可以使用兰德生成坐标,但是如何排除已经填满的方块呢?//number of squares with a certain color$lightblue = rand (0, 200);$darkblue = rand ($whiteblue, 750);$mediumblue = $total - (totalsquares =