如何MAX(id)从表中选择最后一条记录(即拥有)? Next语句工作正常,但选择第一条记录:
MAX(id)
$statistics = SystemStatisticsHistory::findOne(1);
php mysql yii2
mysql ×1
php ×1
yii2 ×1