I try to find maximum rate in previous 3 months for many dates in Oracle Sql. For example for april, code should look january, march, april and write the maximum one near ap