title: How to write raw query in Laravel
body: <p>I need to write a raw query in Laravel Database: Query Builder, That outputs size of specific table</p>
  
  <p>In core mysql query is as following</p>
  
  <pre><code>SELECT table_name "Name_of_the_table", table_rows "Rows Count", round(((data_length + index_length)/1024/1024),2)
  "Table Size (MB)" FROM information_schema.TABLES WHERE table_schema = "Name_of_the_Database" AND table_name ="Name_of_the_table";
  </code></pre>