Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Question on some joins

    dis 1 seems to b simple -

    select distinct t1.orderid , t1.orderdata

    from #tbl1 t1

    inner join #tbl1 t2

    on t1.datemodified > t2.datemodified

    group by t1.orderid , t1.orderdata

Viewing post 1 (of 1 total)