首页 Oracle Oracle笔记 三、function 、select

Oracle笔记 三、function 、select

Scott表下有这么几个常用的表,而且还带有数据。分别是emp、dept、salgrade;1、查看表结构用descdesc emp;2、空表dual,最常用的空表,如:select 2 * 4 from dual;select sysdate from dual;3、双引号能保持格式如:select sysdate “toDay 日 期” from du

<div id=”codeSnippetWrapper”> <div style=”border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: ‘Courier New’,courier,monospace; direction: ltr; border-top-style: none; color: black; font-size: 10pt; border-left-style: none; overflow: visible; padding-top: 0px” id=”codeSnippet”>
<pre style=”border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: ‘Courier New’,monospace; direction: ltr; border-top-style: none; color: black; font-size: 10pt; border-left-style: none; overflow: visible; padding-top: 0px”>Scott表下有这么几个常用的表,而且还带有数据。分别是emp、dept、salgrade;

、>=、<=
 1500;
 1500  sal <= 5000  deptno = 10;
 2000;
 2000;
 s.losal  t.avg_sal < s.hisal;()
 2;
 b.sal  rownum = 1;
 (

本文来自网络,不代表青岛站长网立场。转载请注明出处: https://www.0532zz.com/html/shujuku/oracle/20210111/15268.html
上一篇
下一篇

作者: dawei

【声明】:青岛站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。

为您推荐

返回顶部