title: How to execute a raw sql query with multiple statement with laravel
body: <p>Is there anyway I can execute a query with multiple statement like the one below, using laravel framework.
  I have tried using <code>DB::statement</code> but returned a sql syntax error, but when I execute the same query on phpmyadmin I works, its so frustrating.
  Please help me.</p>
  
  <h2>EG</h2>
  
  <pre><code>LOCK TABLE topics WRITE;
  
  SELECT @pRgt := rgt FROM topics WHERE id = ?;
  
  UPDATE topics SET lft = lft + 2 WHERE rgt &gt; @pRgt;
  UPDATE topics SET rgt = rgt + 2 WHERE rgt &gt;= @pRgt;
  
  INSERT INTO topics (title, overview, article, image, lft, rgt)
  VALUES (?, ?, ?, ?, @pRgt, @pRgt + 1);
  
  UNLOCK TABLES;
  </code></pre>