GreetingsHitting a wall here after many trial and error. I have the following invoice tableInvoiceInvoiceID,WoNumber,OrderDate
WoNumber can be repeated , meaning there could be identical wonumbers (they recycle wonumbers) how can I show the latest record from this table.I have tried the followingselect * From Invoice e inner join (select WoNumber,invoiceid, max(orderdate) from invoice group by WoNumber,invoiceid) ton e.invoiceid = t.invoiceid
I wish to use row_number() thingy but that is way above my league.Appreciate your help