I have a table as below
product char(10)
date datetime
points integer(9)
flag char(1)
my requirement is to show the last (by date) 10 points (with dates) on one line, for all products
example
product points date points date points date (for 10)
product2 points date...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.