I have a table which has three columns element A
, element B
, and dueDate
. If I have the following three rows:
A | B | 01/01/2010
B | C | 01/01/2011
C | D | 01/01/2012
then I would like to be able to extract the following assumption ->A | D | 01/01/2012 either by using plain sql, or by using java to manipulate the data fetched from the database.
Thanks