通过序列的名字查询出该序列的last_value。把这个需求自定义成一个数据库的函数,数据库是postgre.求大神告知怎么写!!!
http://blog.csdn.net/iihero/article/details/8218753