$User=M(homeworkStatistics);$condition['name']='thinkphp';$condition['status']=1;$User-where($condition)-select();最后生成的SQL语句是
$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
正确答案:SELECT*FROMthink()homeworkStatisticsWHERE`name`='thinkphp'ANDstatus=1
Tag:微信小程序开发从入门到实践 语句
时间:2022-01-17 19:52:04