Hi,
I have a table that looks like the following:
ID
Date
Code
The primary key on the table is across ID and Date.
So the data looks like:
ID Date Code
01 01/01/2001 A
01 01/01/2002 A
01 01/01/2003 B
What I would like to return in my results set is all the records that have a date 01/01/2003 with a different code when compared to records with a date 01/01/2002.
Any ideas ?
I have a table that looks like the following:
ID
Date
Code
The primary key on the table is across ID and Date.
So the data looks like:
ID Date Code
01 01/01/2001 A
01 01/01/2002 A
01 01/01/2003 B
What I would like to return in my results set is all the records that have a date 01/01/2003 with a different code when compared to records with a date 01/01/2002.
Any ideas ?