Closed . This question needs to be more
focused . It is not currently accepting answers.
Want to improve this question? Guide the asker to update the question so it focuses on a single, specific problem. Narrowing the question will help others answer the question concisely. You may edit the question if you feel you can improve it yourself. If edited, the question will be reviewed and might be reopened.
Hi all i have this raw query in mysql i need to translate to laravel 5.4 query builder
select * from pages where (phase_id, type) in (select max(phase_id),type from pages where phase_id<=2 and actived=1 group by type) and actived=1
i don't know how to convert in query builder where clausule with 2 colum
any ideas?
Thx all