📜  sql 仅选择具有最大日期的行 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:20.594000             🧑  作者: Mango

代码示例2
SELECT *
  FROM situation
 WHERE datevenement = (SELECT MAX(datevenement)
                         FROM situation
                        WHERE matricule = 12)
   AND matri = 12;