title: How to create table structure without copying data from database table?
body: <p>I was asked in a viva "how can you create a table structure without copying data from a database table?" I was quite sure with my answer. My answer was:`</p>
  
  <p><code>CREATE TABLE <strong>new_table</strong> AS (SELECT *FROM <strong>old_table</strong>);</code></p>
  
  <p>Was I right or wrong?</p>