Difference between revisions of "OracleSampleData"

From mi-linux
Jump to navigationJump to search
Line 11: Line 11:
  
 
<p>
 
<p>
<table border = "1" class=emp cellspacing=0>
+
<table class=emp cellspacing=0 border = "1">
 
<tr>
 
<tr>
 
<th scope="col">EMPNO</th>
 
<th scope="col">EMPNO</th>
Line 22: Line 22:
 
<th scope="col">DEPTNO</th>
 
<th scope="col">DEPTNO</th>
 
</tr>
 
</tr>
<tr><td align="right">7839</td>
+
<tr>
<td>KING</td>
+
<td align="right">
<td>PRESIDENT</td>
+
7876
<td>&nbsp;</td>
+
</td>
<td>17-NOV-80</td>
+
<td>
<td align="right">5000</td>
+
ADAMS
<td>&nbsp;</td>
+
</td>
<td align="right">10</td>
+
<td>
 +
CLERK
 +
</td>
 +
<td align="right">
 +
7788
 +
</td>
 +
<td>
 +
19-NOV-15
 +
</td>
 +
<td align="right">
 +
1100
 +
</td>
 +
<td align="right">
 +
&nbsp;
 +
</td>
 +
<td align="right">
 +
20
 +
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td align="right">7566</td>
+
<td align="right">
<td>JONES</td>
+
7499
<td>MANAGER</td>
+
</td>
<td align="right">7839</td>
+
<td>
<td>02-APR-91</td>
+
ALLEN
<td align="right">2975</td>
+
</td>
<td align="right">&nbsp;</td>
+
<td>
<td align="right">20</td>
+
SALESMAN
 +
</td>
 +
<td align="right">
 +
7698
 +
</td>
 +
<td>
 +
20-FEB-95
 +
</td>
 +
<td align="right">
 +
1600
 +
</td>
 +
<td align="right">
 +
300
 +
</td>
 +
<td align="right">
 +
30
 +
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td align="right">7788</td>
+
<td align="right">
<td>SCOTT</td>
+
7698
<td>ANALYST</td>
+
</td>
<td align="right">7566</td>
+
<td>
<td>16-OCT-15</td>
+
BLAKE
<td align="right">3000</td>
+
</td>
<td align="right">&nbsp;</td>
+
<td>
<td align="right">20</td>
+
MANAGER
 +
</td>
 +
<td align="right">
 +
7839
 +
</td>
 +
<td>
 +
01-MAY-81
 +
</td>
 +
<td align="right">
 +
2850
 +
</td>
 +
<td align="right">
 +
&nbsp;
 +
</td>
 +
<td align="right">
 +
30
 +
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td align="right">7876</td>
+
<td align="right">
<td>ADAMS</td>
+
7782
<td>CLERK</td>
+
</td>
<td align="right">7788</td>
+
<td>
<td>19-NOV-15</td>
+
CLARK
<td align="right">1100</td>
+
</td>
<td align="right">&nbsp;</td>
+
<td>
<td align="right">20</td>
+
MANAGER
 +
</td>
 +
<td align="right">
 +
7839
 +
</td>
 +
<td>
 +
09-JUN-89
 +
</td>
 +
<td align="right">
 +
2450
 +
</td>
 +
<td align="right">
 +
&nbsp;
 +
</td>
 +
<td align="right">
 +
10
 +
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td align="right">7902
+
<td align="right">
 +
7902
 +
</td>
 +
<td>
 +
FORD
 +
</td>
 +
<td>
 +
ANALYST
 +
</td>
 +
<td align="right">
 +
7566
 +
</td>
 +
<td>
 +
03-DEC-91
 +
</td>
 +
<td align="right">
 +
3000
 +
</td>
 +
<td align="right">
 +
&nbsp;
 +
</td>
 +
<td align="right">
 +
20
 
</td>
 
</td>
<td>FORD</td>
 
<td>ANALYST</td>
 
<td align="right">7566</td>
 
<td>03-DEC-91</td>
 
<td align="right">3000</td>
 
<td align="right">&nbsp;</td>
 
<td align="right">20</td>
 
 
</tr>
 
</tr>
<tr><td align="right">7369</td>
+
<tr>
<td>SMITH</td>
+
<td align="right">
<td>CLERK</td>
+
7900
<td align="right">7902</td>
+
</td>
<td>17-DEC-90</td>
+
<td>
<td align="right">800</td>
+
JAMES
<td align="right">&nbsp;</td>
+
</td>
<td align="right">20</td>
+
<td>
 +
CLERK
 +
</td>
 +
<td align="right">
 +
7698
 +
</td>
 +
<td>
 +
03-DEC-81
 +
</td>
 +
<td align="right">
 +
950
 +
</td>
 +
<td align="right">
 +
&nbsp;
 +
</td>
 +
<td align="right">
 +
30
 +
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td align="right">7698</td>
+
<td align="right">
 +
7566
 +
</td>
 
<td>
 
<td>
BLAKE
+
JONES
 
</td>
 
</td>
 
<td>
 
<td>
Line 90: Line 189:
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      7839
+
7839
 
</td>
 
</td>
 
<td>
 
<td>
01-MAY-81
+
02-APR-91
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      2850
+
2975
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
Line 102: Line 201:
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
        30
+
20
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td align="right">
 
<td align="right">
      7499
+
7839
 
</td>
 
</td>
 
<td>
 
<td>
ALLEN
+
KING
 
</td>
 
</td>
 
<td>
 
<td>
SALESMAN
+
PRESIDENT
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      7698
+
&nbsp;
 
</td>
 
</td>
 
<td>
 
<td>
20-FEB-95
+
17-NOV-80
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      1600
+
5000
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      300
+
&nbsp;
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
        30
+
10
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td align="right">
 
<td align="right">
      7521
+
7654
 
</td>
 
</td>
 
<td>
 
<td>
WARD
+
MARTIN
 
</td>
 
</td>
 
<td>
 
<td>
Line 142: Line 241:
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      7698
+
7698
 
</td>
 
</td>
 
<td>
 
<td>
22-FEB-94
+
28-SEP-93
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      1250
+
1250
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      500
+
1400
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
        30
+
30
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td align="right">
 
<td align="right">
      7654
+
7934
 
</td>
 
</td>
 
<td>
 
<td>
MARTIN
+
MILLER
 
</td>
 
</td>
 
<td>
 
<td>
SALESMAN
+
CLERK
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      7698
+
7782
 
</td>
 
</td>
 
<td>
 
<td>
28-SEP-93
+
23-JAN-85
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      1250
+
1300
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      1400
+
&nbsp;
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
        30
+
10
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td align="right">
 
<td align="right">
      7844
+
7788
 
</td>
 
</td>
 
<td>
 
<td>
TURNER
+
SCOTT
 
</td>
 
</td>
 
<td>
 
<td>
SALESMAN
+
ANALYST
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      7698
+
7566
 
</td>
 
</td>
 
<td>
 
<td>
08-SEP-81
+
16-OCT-15
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      1500
+
3000
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
        0
+
&nbsp;
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
        30
+
20
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td align="right">
 
<td align="right">
      7900
+
7369
 
</td>
 
</td>
 
<td>
 
<td>
JAMES
+
SMITH
 
</td>
 
</td>
 
<td>
 
<td>
Line 220: Line 319:
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      7698
+
7902
 
</td>
 
</td>
 
<td>
 
<td>
03-DEC-81
+
17-DEC-90
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      950
+
800
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
Line 232: Line 331:
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
        30
+
20
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td align="right">
 
<td align="right">
      7782
+
7844
 
</td>
 
</td>
 
<td>
 
<td>
CLARK
+
TURNER
 
</td>
 
</td>
 
<td>
 
<td>
MANAGER
+
SALESMAN
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      7839
+
7698
 
</td>
 
</td>
 
<td>
 
<td>
09-JUN-89
+
08-SEP-81
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      2450
+
1500
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
&nbsp;
+
0
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
        10
+
30
 
</td>
 
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
 
<td align="right">
 
<td align="right">
      7934
+
7521
 
</td>
 
</td>
 
<td>
 
<td>
MILLER
+
WARD
 
</td>
 
</td>
 
<td>
 
<td>
CLERK
+
SALESMAN
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      7782
+
7698
 
</td>
 
</td>
 
<td>
 
<td>
23-JAN-85
+
22-FEB-94
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
      1300
+
1250
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
&nbsp;
+
500
 
</td>
 
</td>
 
<td align="right">
 
<td align="right">
        10
+
30
 
</td>
 
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
<p>

Revision as of 15:33, 9 January 2016

Sample DataSet

DEPT Table

DEPTNODNAMELOC
10ACCOUNTING NEW YORK
20RESEARCHDALLAS
30SALESCHICAGO
40OPERATIONSBOSTON

EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO

7876

ADAMS

CLERK

7788

19-NOV-15

1100

 

20

7499

ALLEN

SALESMAN

7698

20-FEB-95

1600

300

30

7698

BLAKE

MANAGER

7839

01-MAY-81

2850

 

30

7782

CLARK

MANAGER

7839

09-JUN-89

2450

 

10

7902

FORD

ANALYST

7566

03-DEC-91

3000

 

20

7900

JAMES

CLERK

7698

03-DEC-81

950

 

30

7566

JONES

MANAGER

7839

02-APR-91

2975

 

20

7839

KING

PRESIDENT

 

17-NOV-80

5000

 

10

7654

MARTIN

SALESMAN

7698

28-SEP-93

1250

1400

30

7934

MILLER

CLERK

7782

23-JAN-85

1300

 

10

7788

SCOTT

ANALYST

7566

16-OCT-15

3000

 

20

7369

SMITH

CLERK

7902

17-DEC-90

800

 

20

7844

TURNER

SALESMAN

7698

08-SEP-81

1500

0

30

7521

WARD

SALESMAN

7698

22-FEB-94

1250

500

30