7/27/2019 ORACLE DEVELOPER les01 arabic
1/11
1
Mohamed_Suez ABU FARIS
10G2011
Mohamed_Suez Abu Faris
HIO SUEZ
6/7/2011
7/27/2019 ORACLE DEVELOPER les01 arabic
2/11
2
-:-: 10 G- .- -: .
1977 "" 145 . 2003
.- "."
.
"" "1977 "RSI. . - "" " "
R " " .R-
" """ .- " " .""
/ .
-(Database) . (Record) (Field) : -- - -- ...
)) )Database Engine(
..- .-
.- (Relational
Database Management System - RDBMS) .
.
)Normalizing Forms( .
7/27/2019 ORACLE DEVELOPER les01 arabic
3/11
3
:-- ))Relational Database-1- .-2- . -3- .-4- .-5- .6- .
:-
:-
-:-1- .-2-:- . -3- :- .-4- :- .
:- -1- . -2- . -3- .
7/27/2019 ORACLE DEVELOPER les01 arabic
4/11
4
Prog+Testing
-:
Sys*Designing*ramming
.
WIND
-
tem analysis
WS
...
-
7/27/2019 ORACLE DEVELOPER les01 arabic
5/11
5
- . WWW.ORACLE.COM .
-:- . 650 1.5C 1.SETUP:-1- setup
:-
7/27/2019 ORACLE DEVELOPER les01 arabic
6/11
6
2- Enterprise Edition1,5 GIGA ORCL Global Database Name NEXT
7/27/2019 ORACLE DEVELOPER les01 arabic
7/11
7
PASSWORD MANAGEMENT-3 LOCK.
END O Installation WORD
7/27/2019 ORACLE DEVELOPER les01 arabic
8/11
8
-SQL Plus SQL
....Quest
: StructurSQL(
DML 9i
Database Control (EM
TOAD For Oracle
-: () (d Query Language
Non Procedu .
(.
Select
:- Enterprise Manager)
DEVELOPER
...
SQL
al Language
.)
-
7/27/2019 ORACLE DEVELOPER les01 arabic
9/11
9
. SQL Plus
SQL
-
7/27/2019 ORACLE DEVELOPER les01 arabic
10/11
10
- Writing SQL State
Using the following simplboth easy to read and eas
- SQL statements are n- SQL statements can b- Keywords cannot be s- Clauses are usually pl- Indents should be use- Keywords typically ar
columns, are entered i- semicolon at the end
SELECT table_name
FROM tabs;
* selects all columns
DISTINCT suppresses duplicates
column|expression selects the
expression
alias gives selected columns diffe
, comma separate between colu
ents
e rules and guidelines, you can construct valito edit:
t case-sensitive (unless indicated).entered on one or many lines.lit across lines or abbreviated.ced on separate lines for readability and easto make code more readable.
e entered in uppercase; all other words, suchlowercase.
f statement (SQL Plus,CMD)
-:
tabs;
Basic SELECT Statement
)
amed column or the
rent headings
ns
Selecting All Columns
d statements that are
of editing.
as table names and
select
from
* )
)(
7/27/2019 ORACLE DEVELOPER les01 arabic
11/11
11
Practice 1
Test your knowledge:
1.Initiate an iSQL*Plus session using the user ID and password that are provided by
the instructor.
2- iSQL*Plus commands access the database.
True/False
3.The following SELECT statement executes successfully:
SELECT last_name, job_id, salary AS Sal
FROM employees;
True/False
4.The following SELECT statement executes successfully:
SELECT *
FROM job_grades;
True/False
5.There are four coding errors in the following statement. Can you identify them?
SELECT employee_id, last_name
sal x 12 ANNUAL SALARY
FROM employees;
You have been hired as a SQL programmer for Acme Corporation. Your first task is
to create some reports based on data from the Human Resources tables.
6.Your first task is to determine the structure of the DEPARTMENTS table and its
contents.
7.You need to determine the structure of the EMPLOYEES table.