Documente Academic
Documente Profesional
Documente Cultură
SELECT Statement
SQL> SELECT *
2 FROM demo_dept_tab;
DEPTNO LOC
--------- -------------
10 COLOMBO
20 KANDY
30 GALLE
40 GALLE
Arithmetic Operations
Operator Description
+ Add
- Subtract
* Multiply
/ Divide
Using Arithmetic Operators
/ + _
*
NAME SALARY
------------- ---------
...
Employees
-------------------
JOHNPRESIDENT
BILLMANAGER
DAVIDMANAGER
JONESMANAGER
MARTINSALESMAN
ALLENSALESMAN
...
14 rows selected.
Literal Character Strings
Employee Details
-------------------------
JOHN is a PRESIDENT
BILL is a MANAGER
DAVID is a MANAGER
JONES is a MANAGER
MARTIN is a SALESMAN
...
14 rows selected.
Duplicate Rows
DEPTNO
---------
10
30
10
20
...
14 rows selected.
Eliminating Duplicate Rows
DEPTNO
---------
10
20
30
Listing the Table structure