I am trying to query my database to obtain future timestamp predictions illustrated in the column 'RRP'. The future timestamps are represented by the 'INTERVAL_DATETIME' column. Where my current query is as follows:
select `RUN_DATETIME`, `INTERVAL_DATETIME`, `REGIONID`, `RRP`
from mms.p5min_regionsolution
where REGIONID = 'SA1'
order by INTERVAL_DATETIME desc limit 100
However, as you can see in the figure below, there are usually multiple duplications of the INTERVAL_DATETIME column and consequently the RRP column. How can I edit my query so that I only get the most recent duplication of the INTERVAL_DATETIME column and RRP and disregard the others. I have also included the RUN_DATETIME column if this can be used in any way.