help needed

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2007
Posts: 12
Reputation: hassan_kh is an unknown quantity at this point 
Solved Threads: 0
hassan_kh hassan_kh is offline Offline
Newbie Poster

help needed

 
0
  #1
Sep 6th, 2007
Here are two sample tables of information which are used by a high school to keep track of the grades for its students. One table contains the names and addresses of the students, together with a student ID number. The second table contains the class name and class ID number, together with the student ID number and the grade for that student for that class. If the student did not take the class, the class grade is left empty. To list the grades for all the courses taken by a student, you have to use the Student table to get the name of the student and the Student ID, and then use the Student ID to look in the Class table to find the classes for which this student has a grade.

Student
---------
Student ID
Name
Address Line 1
Address Line 2
Zip Code
_______________________
Class
------
Class ID
Name
Student ID
Grade
Semester(Fall, Spring)
Teacher
Year

Business Report Needed:
List the students by name and their grades for all classes taken in the Fall semester of last year.

Question For You To Answer:
Which lines of the tables are needed to get the information for the business report? Use the tables above. Tick the box next to each line of information which is needed.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,445
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1475
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: help needed

 
0
  #2
Sep 6th, 2007
well, what do YOU think is the answer ?
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC