... 2 916 .6667 21 7 5 15 66.6667 DEPTNO SAL 10 24 50 10 5000 10 13 00 20 800 20 11 00 20 3000 20 3000 20 29 75 30 16 00 30 28 50 30 12 50 30 950 30 15 00 30 12 50 DEPTNO AVG(SAL) 10 2 916 .6667 ... Using Parentheses SQL& gt; SELECT ename, sal, 12 *(sal +10 0) 2 FROM emp; ENAME SAL 12 *(SAL +10 0) KING 5000 6 12 00 BLAKE 28 50 35400 CLARK 24 50 30600 JONES 29 75 36900 MARTIN 12 50 16 20 0 14 rows selected. ... comm) 2 FROM emp 3 WHERE job = ’SALESMAN’; ENAME SAL COMM MOD(SAL,COMM) MARTIN 12 50 14 00 12 50 ALLEN 16 00 300 10 0 TURNER 15 00 0 15 00 WARD 12 50 500 25 0 Working with Dates • Oracle stores dates...
Ngày tải lên: 24/01/2014, 10:20
... Developer /20 00, SQL, PL /SQL, and SQL* Plus. The following five tests comprise this track: 1Z0-0 01: Introduction to Oracle : SQL and PL /SQL 1Z0 -10 1: Develop PL /SQL Program Units 1Z0 - 12 1: ... datatype. TABLE 1. 2 Date Arithmetic Time to Add Fraction Date Difference 1 Day 1 1 1 Hour 1/ 24 1/ 24 1 Minute 1/ (24 × 60) 1/ 1440 1 Second 1/ (24 × 60 × 60) 1/ 86400 Copyright 20 00 SYBEX , Inc., Alameda, CA www.sybex.com xxxii ... varchar2 varchar2 number number Length 9 50 11 ,2 11 ,2 Copyright 20 00 SYBEX , Inc., Alameda, CA www.sybex.com Chapter 1 Relational Technology and Simple SQL SELECT Statements ORACLE8 i SQL...
Ngày tải lên: 16/10/2013, 13:15
SQL and PL/SQL Using Procedure Buider
... Using PL /SQL 22 Ć7 SELECT Exceptions 22 15 Manipulating Data Using PL /SQL 22 19 SQL Cursor 22 23 Controlling Transactions 22 27 Summary 22 Ć 31 Practice Overview 22 Ć33 Practice 22 22 Ć35 23 . ... Assigning Values to Variables 21 29 Programming Guidelines 21 43 Summary 21 49 Practice Overview 21 51 Practice 21 21 53 22 . Interacting with Oracle 22 1 Objectives 22 Ć3 Overview 22 Ć5 Retrieving ... 16 29 Practice Overview 16 Ć 31 Practice 16 16 Ć33 17 . Summary of SQL and SQL* Plus 17 1 Summary of SQL and SQL* Plus 17 Ć3 Practice Overview 17 Ć9 Practice 17 17 11 Volume 3 18 . Overview of PL/ SQL...
Ngày tải lên: 19/10/2013, 11:15
professional oracle 8i application programming with java, pl sql and xml
Ngày tải lên: 01/08/2014, 16:31
Tài liệu Oracle Database 11g PL/SQL Programming P2 ppt
... Chapter 1: Oracle PL /SQL Overview 17 Oracle 11 g New Features New PL /SQL features introduced in Oracle 11 g include Automatic subprogram inlining A continue statement A cross-session PL /SQL function ... Figure 1- 2 graphically depicts memory use for the three models from 500 to 2, 000 concurrent users. FIGURE 1- 2 Connection scalability 24 Oracle Database 11 g PL /SQL Programming PL/ Scope The PL/ Scope ... explained the importance of PL /SQL, and how it can leverage your investment in the Oracle 11 g database. You should now see that a combination of SQL and PL /SQL can simplify your external application...
Ngày tải lên: 25/01/2014, 14:20
Bạn có muốn tìm thêm với từ khóa: