Hi,
I have a table;
product char(10)
date datetime
points integer(9)
flag char(1)
I want to read the latest (by date) 2 records for each product and add a flag to each if the points value has changed.
To be honest I don't have much sql and am completely stuck
Thanks for reading, hope you can help.
I have a table;
product char(10)
date datetime
points integer(9)
flag char(1)
I want to read the latest (by date) 2 records for each product and add a flag to each if the points value has changed.
To be honest I don't have much sql and am completely stuck
Thanks for reading, hope you can help.