标签:sele 类型 ble mys 一个 字符 tab from sig
说明,这个id是字符串类型,但是实际值是一个整数,获取最大值的方法是:
select max(cast(id as SIGNED)) from table
另外,mysql生成伪列的方法:
SELECT @rownum:=@rownum+1 AS rownum, t.* FROM (SELECT @rownum:=0) r, ai_label_detail_t t
标签:sele 类型 ble mys 一个 字符 tab from sig
原文地址:https://www.cnblogs.com/gunduzi/p/12076452.html