SQL MAX() 函数

rs.open "select max(id) as zuidaid from table",conn,1,1
mid=rs("zuidaid")

获取表中id最大的值

select * From table where id = (select max(id) from table)[......]

阅读全文

Views: 144 Tags:
飞鱼