Difference between revisions of "Oracle"

From mi-linux
Jump to navigationJump to search
 
(34 intermediate revisions by the same user not shown)
Line 1: Line 1:
Page under construction.....
+
[[Main Page]] >> Oracle and SQL
  
<h2>Oracle 11g Version 11.2.0.1.0</h2>
+
== Oracle 19c Version 19.3.0.0.0==
  
<p>The purpose of this handout is to introduce the reader to using SQL from the  
+
From the 2019/20 Academic year we will be using Oracle 19c. 
  Oracle database management system (DBMS). It is intended to be supplemented  
+
 
  by a lecture course. Spaces are provided throughout the document for the student
+
Oracle 12c should only be used by MSc students who are completing their projects.
  to add notes and answers to questions.<br>
+
 
  Commands to try out are in BOLD UPPERCASE</p>
+
The purpose of this Wiki is to introduce using SQL from the Oracle database management system (DBMS). It is intended to be supplemented by a lecture course.
<p>e.g., <strong>SELECT * FROM DEPT</strong> </p>
+
 
<p> Note, you will need to press RETURN after each line.</p>
+
Commands to try out are in a box, for example:
 +
 
 +
SELECT * FROM DEPT;
 +
 
 +
There will be exercises for you to try out too. In most cases you will be given the results so you can check your answer. These will also be presented in a blue font, for example:
 +
 
 +
<pre style="color: blue">
 +
 
 +
    DEPTNO DNAME          LOC
 +
---------- -------------- -------------
 +
        10 ACCOUNTING    NEW YORK
 +
        20 RESEARCH      DALLAS
 +
        30 SALES          CHICAGO
 +
        40 OPERATIONS    BOSTON
 +
</pre>
 +
 
 +
Things to note:
 +
*when running the commands in Oracle you will need to press RETURN after each line.
 +
*the order of the results may differ from yours. The key thing is that you have the same rows, but not necessarily in the same order.
 +
 
 +
 
 +
Menu options (Windows) that involve more than one step will be shown as a sequence, separated by the greater than symbol (>), for example:
 +
 
 +
  File>Open
 +
 
 +
Means select <b>File</b> from the main Window menu then <b>Open</b> from the submenu
 +
 
 +
* [[Oracle_Workbook|Workbook]]
 +
* [[OracleLinks|Useful URLs]]
 +
 
 +
 
 +
<hr>
 +
If you spot any errors in this workbook, please inform the Oracle DBA: [mailto:M.Garvey@wlv.ac.uk Mary Garvey]

Latest revision as of 11:15, 1 October 2019

Main Page >> Oracle and SQL

Oracle 19c Version 19.3.0.0.0

From the 2019/20 Academic year we will be using Oracle 19c.

Oracle 12c should only be used by MSc students who are completing their projects.

The purpose of this Wiki is to introduce using SQL from the Oracle database management system (DBMS). It is intended to be supplemented by a lecture course.

Commands to try out are in a box, for example:

SELECT * FROM DEPT;

There will be exercises for you to try out too. In most cases you will be given the results so you can check your answer. These will also be presented in a blue font, for example:


    DEPTNO DNAME          LOC
---------- -------------- -------------
        10 ACCOUNTING     NEW YORK
        20 RESEARCH       DALLAS
        30 SALES          CHICAGO
        40 OPERATIONS     BOSTON

Things to note:

  • when running the commands in Oracle you will need to press RETURN after each line.
  • the order of the results may differ from yours. The key thing is that you have the same rows, but not necessarily in the same order.


Menu options (Windows) that involve more than one step will be shown as a sequence, separated by the greater than symbol (>), for example:

 File>Open

Means select File from the main Window menu then Open from the submenu



If you spot any errors in this workbook, please inform the Oracle DBA: Mary Garvey