摘要:
select * from scott.dept;select * from scott.emp; --dual 是 Oracle提供的一个虚表select length('hello') from dual; --常用函数--lower把大写转小写 upper把小写转大写select * from 阅读全文
posted @ 2018-01-14 16:38
黎镇洋
阅读(276)
评论(0)
推荐(0)
摘要:
--注意:rownum和rowid只有Oracle有,其它数据库是不支持的 select * from scott.dept;--查询的结果称为'结果集' --rownum 伪列 '结果集'中产生的序列--在下面的结果集中deptno为20的rownum为2select rownum,deptno, 阅读全文
posted @ 2018-01-14 13:15
黎镇洋
阅读(437)
评论(0)
推荐(0)