Home Forums SQL Server 7,2000 T-SQL Output results based on row comparison? RE: Output results based on row comparison?

  • Hey Doug,

    Maybe breaking it out will make it easier to see...

    (select min(foperno) from #temp t where t.fjobno = t1.fjobno and t.foperno > t1.foperno)

    Steve