Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下に示すように、MySQL データベースの列「数値」の数値を増やすスクリプトを作成するのを手伝ってください。
****************** * index * number * ****************** * 1000A * 01 * * 1000B * 02 * * 1000C * 03 * * 1000D * 04 * … * 1000Z * 99 *
これがあなたが望むものだと思います:
update `mytable` set number = number + 1 where index = $YOUR_INDEX;
$YOUR_INDEXもちろん、関心のあるインデックスに置き換えてください。
$YOUR_INDEX