MySQL query to Laravel supported format

312
May 12, 2017, at 6:00 PM

I have a following MySQL query which I want to convert into Laravel Eloquent ORM query. Small lead on this would be a great help.

UPDATE orders SET order_status_id = "1" where customer_id IN (select DISTINCT(c.id) from customers c LEFT JOIN organizations org ON c.org_id = org.id AND org.id ="14"); 
READ ALSO
Converting SQL Server Query to MySQL Query Using Subquery Alias

Converting SQL Server Query to MySQL Query Using Subquery Alias

everyonei have a view in SQL Server that need to be ported to MySQL

290
insert a table record into another table

insert a table record into another table

I want to insert a table record into another tableI am selecting user id ,date and variance

231
How to combine results of two query from different tables?

How to combine results of two query from different tables?

Hello guys i have two tables 1Table_Shop 2

257