11问答网
所有问题
在access数据库里,如何用sql语句查询数据库里第五条记录
如题所述
举报该问题
推荐答案 2020-04-05
1、access支持
sql语言
;
2、查询语句select的基本格式为select
*|字段名表
from
数据源;
3、如果只显示前5条记录,则带top
n子句,此处n为例5;
4、例如select
top
5
*
from
学籍,表示只查询学籍表的前5条记录。
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://11.wendadaohang.com/zd/2P27qPM7SF7S4224v2.html
其他回答
第1个回答 2020-03-24
假如主键字段为:PMKey,则可以如下查找:
select
*
from
info
where
PMKey
in(select
top
N
PMKey
from
info)
and
PMKey
not
in(select
top
N-1
pMKey
from
info)
相似回答
大家正在搜
相关问题
在access数据库里,如何用sql语句查询数据库里第五条记...
在 access数据库中,怎么使用语句进行查询
ACCESS数据库中怎么引用查询的SQL语句
access数据库中用SQL语句查询某个字段
在access数据库中怎么执行sql语句
Access数据库中如何输入SQL语句进行操作?
在ACCESS数据库中,怎样用SQL语句把一个表的某些字段的...
在access数据库里,如何用sql语句查询数据库里第五条记...