Posts by Eduardo Ribeiro • 33 points
2 posts
-
1
votes4
answers593
viewsA: Sql - Query of two maximum values
One more assumption... For the initial date I have several records (read sequences 1 to 10). But I want to select the largest date and from that date the largest sequence. Code for this solution…
-
2
votes4
answers593
viewsQ: Sql - Query of two maximum values
Suppose we have this database codigo, data, valor,seq (1, '2014-01-01', 10,2), (1, '2014-01-02', 20,1), (2, '2014-01-03', 30,1), (2, '2014-01-05', 40,1), (2, '2014-01-05', 50,2), (3, '2014-01-06',…