从MS Access数据库中选择最后一条记录 [英] Select last record from MS Access database

查看:561
本文介绍了从MS Access数据库中选择最后一条记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在MS Access查询中使用TOP(1)关键字.

从mycolumn desc的mytable订单中选择* TOP(1);

这个奎里给了我错误;

实现该代码的任何其他替代方法;

How to use TOP(1) keyword in MS Access query.

select * TOP(1) from mytable orderby mycolumn desc;

this querry gives me error;

Any other alternate to implement this code;

推荐答案

删除"*",使用此通过mycol1 desc从mytable顺序中选择top(1)mycol1;"
Remove the "*", use this "select top(1) mycol1 from mytable order by mycol1 desc;"


这篇关于从MS Access数据库中选择最后一条记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆