Forum Replies Created

Viewing 8 posts - 1 through 9 (of 9 total)

  • RE: IN function

    Thanks guys, I appreciate the help!

    Jude

  • RE: Aggregate function

    Just to clarify, the apprentice_id has multiple agreement_ids. I was trying to return the most recent (by start_date) agreement_id for each apprentice_id. I initially tried to do it by an...

  • RE: Aggregate function

    Thanks Jack!

  • RE: Aggregate function

    Hey Seth,

    As I am in a bit of a time crunch here, I'm going with Jack's solution. I really appreciate all the advice but I don't have time to play...

  • RE: Aggregate function

    Hey Jack,

    How do I turn on "show actual execution plan"? I'm a bit of a newbie to SQL Server. 😀

  • RE: Aggregate function

    Thanks Seth, that works too. Is there a performance benefit to doing it your way over Jack's? Just so you know, the code will be a sub-query inside of another...

  • RE: Aggregate function

    Thanks Jack! That does seem to work.

    Jude

  • RE: Aggregate function

    Thanks so much for your quick reply! What I want is the agreement_id that goes with the MAX(start_date). For each apprentice_id I have several agreement_id's. I want to pull the...

Viewing 8 posts - 1 through 9 (of 9 total)