title: Copy specific column from table to table
body: <p>Copy specific column from <em>Table Student</em> with column <code>id</code>, <code>name</code>, <code>address</code>, <code>school</code>, <code>age</code>, <code>major</code>  to Table A but only column <code>id</code>, <code>name</code> and <code>age</code></p>
  <pre><code>public function student()
  {
  
      Transaksi::create([
          'id_' =&gt; $request-&gt;id,
          'name' =&gt; $request-&gt;name,
          'age' =&gt; $request-&gt;age
      ]);
  </code></pre>
  <p>}</p>
  <p>but it did not work.</p>
  <p>any better suggest</p>
  <p>I'm using Laravel 8.6 and MySql.</p>