dbTalk Databases Forums  

Some analytic function

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Some analytic function in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eitan M
 
Posts: n/a

Default Some analytic function - 02-06-2008 , 04:01 AM






Hello.
I want to present my query in a table (it is for flat - report).

suppose there are 5 students, and several courses that each course has some
major exams (Math, English, ....)
and each column represent all the grades of all students that participated
the exam.

Course No. Math English Exam no x. Exam no. y
-------------- ------------ --------- -------------- -------------
10001 Grade- ....
student-1 ...
Grade-
student-2 ..
10002 ...

Is there any analytic function for that ?

Thanks




Reply With Quote
  #2  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Some analytic function - 02-06-2008 , 09:11 AM






On Feb 6, 4:01*am, "Eitan M" <no_spam_please (AT) nospam_please (DOT) com> wrote:
Quote:
Hello.
I want to present my query in a table (it is for flat - report).

suppose there are 5 students, and several courses that each course has some
major exams (Math, English, ....)
and each column represent all the grades of all students that participated
the exam.

Course No. Math * * * *English *Exam no x. Exam no. y
-------------- ------------ --------- -------------- -------------
10001 * * * * Grade- * * ....
* * * * * * * * * *student-1 ...
* * * * * * * * * *Grade-
* * * * * * * * * *student-2 ..
10002 ...

Is there any analytic function for that ?

Thanks
What, exactly do you mean by 'Is there any analytic function for
that ?' For what? Your question is far from clear or concise.


David Fitzjarrell


Reply With Quote
  #3  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Some analytic function - 02-06-2008 , 09:11 AM



On Feb 6, 4:01*am, "Eitan M" <no_spam_please (AT) nospam_please (DOT) com> wrote:
Quote:
Hello.
I want to present my query in a table (it is for flat - report).

suppose there are 5 students, and several courses that each course has some
major exams (Math, English, ....)
and each column represent all the grades of all students that participated
the exam.

Course No. Math * * * *English *Exam no x. Exam no. y
-------------- ------------ --------- -------------- -------------
10001 * * * * Grade- * * ....
* * * * * * * * * *student-1 ...
* * * * * * * * * *Grade-
* * * * * * * * * *student-2 ..
10002 ...

Is there any analytic function for that ?

Thanks
What, exactly do you mean by 'Is there any analytic function for
that ?' For what? Your question is far from clear or concise.


David Fitzjarrell


Reply With Quote
  #4  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Some analytic function - 02-06-2008 , 09:11 AM



On Feb 6, 4:01*am, "Eitan M" <no_spam_please (AT) nospam_please (DOT) com> wrote:
Quote:
Hello.
I want to present my query in a table (it is for flat - report).

suppose there are 5 students, and several courses that each course has some
major exams (Math, English, ....)
and each column represent all the grades of all students that participated
the exam.

Course No. Math * * * *English *Exam no x. Exam no. y
-------------- ------------ --------- -------------- -------------
10001 * * * * Grade- * * ....
* * * * * * * * * *student-1 ...
* * * * * * * * * *Grade-
* * * * * * * * * *student-2 ..
10002 ...

Is there any analytic function for that ?

Thanks
What, exactly do you mean by 'Is there any analytic function for
that ?' For what? Your question is far from clear or concise.


David Fitzjarrell


Reply With Quote
  #5  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Some analytic function - 02-06-2008 , 09:11 AM



On Feb 6, 4:01*am, "Eitan M" <no_spam_please (AT) nospam_please (DOT) com> wrote:
Quote:
Hello.
I want to present my query in a table (it is for flat - report).

suppose there are 5 students, and several courses that each course has some
major exams (Math, English, ....)
and each column represent all the grades of all students that participated
the exam.

Course No. Math * * * *English *Exam no x. Exam no. y
-------------- ------------ --------- -------------- -------------
10001 * * * * Grade- * * ....
* * * * * * * * * *student-1 ...
* * * * * * * * * *Grade-
* * * * * * * * * *student-2 ..
10002 ...

Is there any analytic function for that ?

Thanks
What, exactly do you mean by 'Is there any analytic function for
that ?' For what? Your question is far from clear or concise.


David Fitzjarrell


Reply With Quote
  #6  
Old   
Eitan M
 
Posts: n/a

Default Re: Some analytic function - 02-06-2008 , 09:50 AM



select ..., rank () over ( ...)


something of above is an analytic function.

I don't know what is the best way to do a good query for the above.

Need some help, please.

Thanks



Reply With Quote
  #7  
Old   
Eitan M
 
Posts: n/a

Default Re: Some analytic function - 02-06-2008 , 09:50 AM



select ..., rank () over ( ...)


something of above is an analytic function.

I don't know what is the best way to do a good query for the above.

Need some help, please.

Thanks



Reply With Quote
  #8  
Old   
Eitan M
 
Posts: n/a

Default Re: Some analytic function - 02-06-2008 , 09:50 AM



select ..., rank () over ( ...)


something of above is an analytic function.

I don't know what is the best way to do a good query for the above.

Need some help, please.

Thanks



Reply With Quote
  #9  
Old   
Eitan M
 
Posts: n/a

Default Re: Some analytic function - 02-06-2008 , 09:50 AM



select ..., rank () over ( ...)


something of above is an analytic function.

I don't know what is the best way to do a good query for the above.

Need some help, please.

Thanks



Reply With Quote
  #10  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Some analytic function - 02-06-2008 , 10:55 AM



On Feb 6, 9:50*am, "Eitan M" <no_spam_please (AT) nospam_please (DOT) com> wrote:
Quote:
select ..., rank () over ( ...)

something of above is an analytic function.

I don't know what is the best way to do a good query for the above.

Need some help, please.

Thanks
I know what analytic functions ARE, I do NOT know what 'that' is in
your original question. Either clearly describe your problem and the
solution you expect to see or expect very little in assistance.


David Fitzjarrell


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.