$User=M(homeworkStatistics);$condition['name']='thinkphp';$condition['status'
9 查阅
$User=M(homeworkStatistics);$condition['name']='thinkphp';$condition['status']=1;$User-where($condition)-select();最后生成的SQL语句是
A.SELECT*FROMthink()homeworkStatisticsWHERE`name`='thinkphp'ANDcondition=1
B.SELECT*FROMthink()homeworkStatisticsWHERE`condition`='thinkphp'ANDstatus=1
C.SELECT*FROMthink()homeworkStatisticsWHERE`condition`='thinkphp'ORcondition=1
D.SELECT*FROMthink()homeworkStatisticsWHERE`name`='thinkphp'ANDstatus=1
参考答案: