$User=M(homeworkStatistics);$User-where('type=1ANDstatus=1')-select()生成的SQL的语句是?

9 查阅

$User=M(homeworkStatistics);$User-where('type=1ANDstatus=1')-select()生成的SQL的语句是?

A.SELECT*FROMpingshifen()homeworkStatisticsWHEREtype=1ANDstatus=1

B.SELECT*FROMpingshifen()homeworkStatisticsWHEREtype=1

C.SELECT*FROMpingshifen()homeworkStatisticsWHEREstatus=1

D.SELECT*FROMpingshifen()homeworkStatistics

参考答案:

答案:SELECT*FROMpingshifen()homeworkStatisticsWHEREtype=1ANDstatus=1