How to execute MYSQL query in laravel?
<p>I have one MYSQL query with me I want to execute this query in laravel.</p>

<pre><code>    select d1.update_id from ( select update_id, count(update_id)
 as ct from updates_tags where tag_id in 
(67,33,86,55) group by update_id) as d1 where d1.ct=4
</code></pre>

<p>Please guide me how do i Do it easily. </p>

<p>I have one reference with me.... It is not working</p>

<pre><code>    $updateArray = DB::table('updates_tags')
-&gt;select('update_id', DB::raw('count(*) as update_id'))
-&gt;whereIn('tag_id',$jsontags)
-&gt;groupBy('update_id')
-&gt;having('update_id','=',count($jsontags))
-&gt;lists('update_id');
</code></pre>