Skip to content
Advertisement

How to find last values in mySQL tables sorted by datetime?

I have a problem finding the right values from mySQL Database.

I have 1 table with 3 main columns:

I need as a result a table with all patients and just one value for every patient:

Advertisement

Answer

You need the last value of datetime this year:

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement