gpt4 book ai didi

mysql - 使用SQL从一组不断增加的数字中获取最小未使用的数字

转载 作者:行者123 更新时间:2023-11-29 04:45:03 35 4
gpt4 key购买 nike

<分区>

例如:在我的数据库中,有 10 条记录:500、501、502、503、504、506、507、508、509、510。我想获得未使用的 505。 (起始编号为 500)。

如果db中有501、502、503,我想得到500

我使用 MySQL。

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com