SQL语句:查询某一年、月、日的记录
$sql="select * from dbname where YEAR(PatchDate)=".$year." and MONTH(PatchDate)=".$month." order by ID desc";
SQL语句:查询某一年、月、日的记录
$sql="select * from dbname where YEAR(PatchDate)=".$year." and MONTH(PatchDate)=".$month." order by ID desc";