谁能告诉我Laravel 5等效查询(eloquent或query builder )用于以下查询--
select * from questions where id NOT in ( select question_id from answers where student_id=5 ) AND exam_id=4发布于 2017-03-15 19:40:08
我自己解决的,
这对我来说非常有效。
$questions= DB:: select ("select * from where id NOT in (select question_id from answers where student_id=5 )$questions= exam_id=4");
https://stackoverflow.com/questions/42808328
复制相似问题