View Single Post
  #4 (permalink)  
Old 10-22-09, 08:58
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Quote:
Originally Posted by antigenius
but sorry I didn't mention the whole question
that is display the name of the major that has the least number of advisors but the largest number of students.
What if there are ties (such as seventy-two majors that only have one student)? What if the majors with the fewest advisors are not the majors with the most students?

Going to your teacher or TA would be your best bet, they understand what they're trying to teach (or we hope they understand it anyway) and can deal with specific problems much better than we can. This is apparently an "Introduction to Oracle" class, but more details on the class would help. Can you post a link to the assignment so we can read it as the teacher originally posted it?

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote