在oracle中如何只显示一行记录或只显示表结构? 什么意思?desc tab_nameselect * from tab_name where rownum=1 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 第一条记录:select * from table_name where rownum=1;显示表结构:desc table_name 只显示第一条记录还可以select * from table_name where rownum<2; select* from table_name where rownum=1;select* from table_name where rownum<2;等价,都可以。 select id,name,rownum row_id from (select id,name from table_name where 条件&排序) where row_id=第几行; 一条sql语句优化的问题? 如何找出这个表 人数统计脚本出错。请wildwave 或者其他高手帮忙看看 对象库(object libraries)不是属于某个form的吗?它和对象组(object groups)有什么区别 该日期语句 在不同的机器,数据乱码的问题 各路高手,一点小问题,帮我看一下 怎么将两个相同或是多个相同的元组删除多余的,留下一个?有什么好方法吗? 报表合计问题! 如何高效将一个大二进制文件导入到oracle中去? 请教高手,怎样通过IE登录管理ORACLE,十分感谢 Unique约束删除问题!!!
select * from table_name where rownum=1;
显示表结构:
desc table_name
select * from table_name where rownum<2;
select* from table_name where rownum<2;
等价,都可以。