The Oracle analysis function ntile has such A requirement that the scores of the course are divided into four levels, to provide A, B, C, and D Performance for students. Droptablecoursepurge; create
The Oracle analysis function ntile has such A requirement that the scores of the course are divided into four levels, to provide A, B, C, and D Performance for students. Drop table course purge; create
Oracle analysis function ntile
With such A requirement, the scores of the course are divided into four levels to provide A, B, C, and D Performance for students.
Drop table course purge;
Create table course
(
Id number,
Grade number
);
Insert into course values (1, 50 );
Insert into course values (2, 55 );
Insert into course values (3,60 );
Insert into course values (4,65 );
Insert into course values (5, 70 );
Insert into course values (6, 75 );
Insert into course values (7,80 );
Insert into course values (8, 85 );
Insert into course values (9, 90 );
Insert into course values (10, 95 );
Commit;
SQL> select id, grade, ntile (4) over (order by grade desc) til from course;
ID GRADE TIL
------------------------------
10 95 1
9 90 1
8 85 1
7 80 2
6 75 2
5 70 2
4 65 3
3 60 3
2 55 4
1 50 4
10 rows have been selected.
Migration from 32-bit to 64-bit for a single Oracle instance
Install Oracle 11gR2 (x64) in CentOS 6.4)
Steps for installing Oracle 11gR2 in vmwarevm
Install Oracle 11g XE R2 In Debian
Oracle Import and Export expdp IMPDP details
Solution to Oracle 10g expdp export error ORA-4031