首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > PB >

类似如下语句有什么作用,该如何解决

2012-02-10 
类似如下语句有什么作用SQL codeselect max(lost.lost_id)into:nfrom lost如题[解决办法]get the max id

类似如下语句有什么作用

SQL code
select max(lost.lost_id)into:nfrom lost;

如题

[解决办法]
get the max id from the table lost.
[解决办法]
在挂失表里插一条明细记录啊
id 就是取最大值+1

[解决办法]
应该是取当前的最大id编号+1作为,给挂失证件补发的新证件的ID
丢失证件,补发时重新分配一个最大的ID。

热点排行