Home Forums SQL Server 2008 T-SQL (SS2K8) how to write join part of query so that only most recent equipment assignments are returned RE: how to write join part of query so that only most recent equipment assignments are returned

  • i'm partial to parulprabu showing me how to make query 2 work using this join.

    join location_history loch on loch.date_assigned = lh.Last_Date_Assigned and loch.iphone_id=lh.iphone_id.

    really appreciate.

    Thanks to you both for your replies. I'll look to see if there's a performance benefit of one over the other.

    --Quote me