33问答网
所有问题
sql中如何只取得第一行
如题所述
举报该问题
其他回答
第1个回答 2016-11-22
oracle 的话
select * from tablename where rownum=1
本回答被网友采纳
第2个回答 2016-11-22
select top 1 * from tablename
相似回答
大家正在搜
相关问题
如何让sql语句只返回第一行
sql中怎么获取任意一行
如何用SQL语句实现相同列值只取一行?
如何获取sql第一行第一列的值
mysql中只获取数据库中的第一行的数据的代码
sql server查询语句如何只执行一行
如何用SQL语句实现相同列值只取第一行?
sql问题 怎么只显示第一行数据