我想从按party_id 分组的表中获取或获取最大日期。
为此,我尝试了:
$check = mysql_fetch_array(mysql_query("select max(fixed_date) as f from case_proceeding group by party_id where party_id='$row[party_id]'"));
之后,我想像这样打印最大日期:
echo $check['f'];
但它不起作用。我认为 mysql_query 有错误。