Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
SELECT *
FROM Table_1 t1
LEFT JOIN Table_1 t2 ON t2.id = t1.id AND t2.DateUse > t1.DateUse
WHERE t2.id IS NULL;
SELECT Table_Senture.* FROM Table_Senture
INNER JOIN ( SELECT ID, MAX(DateUse) AS MaxDate FROM Table_Senture GROUP BY ID ) AS MR
ON Table_Senture.ID = MR.ID AND DateUse = MaxDate
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question