User Profile

Collapse

Profile Sidebar

Collapse
cbrashear
cbrashear
Last Activity: Dec 1 '09, 05:08 PM
Joined: Nov 23 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • cbrashear
    replied to Query across Multiple Tables MAX()
    Have cleaned it up
    SELECT MAX(ClassResult .ClassID) AS LASTCLASS,
    Person.PersonID ,
    Person.LastName ,
    Person.FirstNam e,
    Address.Address 1,
    Address.City,
    Address.State,
    Address.Zip,
    Class.Year,
    ClassResult.Cla ssResultStatusI D
    FROM Person

    INNER JOIN Person_Address ON Person.PersonID = Person_Address. PersonID
    INNER...
    See more | Go to post

    Leave a comment:


  • cbrashear
    started a topic Query across Multiple Tables MAX()

    Query across Multiple Tables MAX()

    I am new to sql and have not been able to resolve this issue. I have a query that shows me the information on students we serve. The query pulls all of their classes and the status results as well as contact information. I need to query down to the LAST class taken and the students status. If I take out the following fields I get the correct return but I have to have all the information dbo.Class.Year, dbo.ClassResult .ClassResultSta tusID, dbo.Class.Semes terID,...
    See more | Go to post
No activity results to display
Show More
Working...