The table xy contains the following fields:
id | date | value
I wish to extract the minimum value for a specific id and the according date starting at row 12:
The code SELECT MIN(value) FROM (SELECT value FROM tablexy where id=1 LIMIT 11, 1000) as x
This returns the lowest value, however, what do I need to add to also receive the relevant date for the lowest value?
1 Answer