Lab Number 1
Lab Number 1
LAB NO = 01
1. SQL> conn sys as sysdba
Enter password:
Connected.
3. SQL> conn hr
Enter password:
ERROR:
ORA-01017: invalid username/password; logon denied
Warning: You are no longer connected to ORACLE.
6. SQL> conn hr
Enter password:
Connected.
2
12000
15000
5500
MAX_SALARY
----------
8500
5000
5500
10000
15000
9000
9000
10500
19 rows selected.
10000
6000
8000
2500
MIN_SALARY
----------
5500
2000
2500
4000
9000
4000
4000
4500
19 rows selected.
40000 20000
30000 15000
6000 3000
16000 8200
9000 4200
16000 8200
9000 4200
6
20000 10000
12000 6000
15000 8000
5500 2500
MAX_SALARY MIN_SALARY
---------- ----------
8500 5500
5000 2000
5500 2500
10000 4000
15000 9000
9000 4000
9000 4000
10500 4500
19 rows selected.