SQL SELECT for max and min values with virtual columns

Hi @yamadapanda , the error was mine. Many many thanks!!!

Can you help me with this other topic please?