我希望我的 UserId 字段像这样 AB001。
Where AB is the name of anything and is constant, and 001 is the auto-increment value.
如何在 PHP 和 MySql 中做到这一点。
最佳答案
关于php - 如何在varchar中生成自增主键,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21281068/
我希望我的 UserId 字段像这样 AB001。
Where AB is the name of anything and is constant, and 001 is the auto-increment value.
如何在 PHP 和 MySql 中做到这一点。
最佳答案
关于php - 如何在varchar中生成自增主键,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21281068/