-
How to download Oracle xe 11g edition
-
How to install Oracle XE 11g
- http://www2.hawaii.edu/~lipyeow/ics321/2015spr/installoracle11g.html
- written in English
- https://dudaji.tistory.com/entry/%ED%8E%8C-Ubuntu%EC%97%90-Oracle-XE-%EC%84%A4%EC%B9%98%ED%95%98%EA%B8%B0
- written in Korean
- Compare two article while installing
- http://www2.hawaii.edu/~lipyeow/ics321/2015spr/installoracle11g.html
-
How to install Oracle SQL Developer
-
How to use SCOTT user if you cannot use it
-
How to get ojdbc.jar used in connection via jdbc
- you should go to directory which you installed your database.
- In my case, the file is in
/u01/app/oracle/product/11.2.0/xe/jdbc/lib/
-
create table
- primary key
- foreign key
- not null
-
drop table
-
alter table
- alter table r add A D;
- alter table r drop A;
-
select from
- distinct
- where
- and, or, not, (not) between
- as
- select, from
-
String operation
- %
- _
- like
-
Ordering tuples
- order by
- asc
- desc
- order by
-
Set operation
- union
- all
- intersect
- all
- except
- all
- union
-
About NULL values (have to memorize)
-
Aggregate Functions
- avg
- min
- max
- sum
- count
- distinct, *
-
Grouping
- group by
- having
-
Subqueries
- In where clause
- in, not in
- some, all
- In from clause
- with clause
- In select clause
- In where clause
-
delete from
- delete from r where p;
-
insert into values()
- insert into r values();
- insert into r() values();
- insert into r values(..., null, ...);
-
update set
- case when then else end