0
Good morning.
I have a table with columns Version
, Updated
, LastChanged
.
I want to make a query to select the highest version value, with the respective LastChanged
, corresponding to Updated
= 1;
I did it like this, but it didn’t work.
select Max(Version), LastChanged from BMTDatabaseUpdate where Updated=1
Could you elaborate on what you need, including posting data samples and the expected result? The phrase " select the highest value of the version, with the respective Lastchanged" can generate different interpretations...
– José Diz
For the same value of Version there can be more than one line, varying the value of Lastchanged?
– José Diz