title: Retrieve inserted row ID in SQL
body: <p>How do I retrieve the ID of an inserted row in SQL?</p>
  
  <h2>Users Table:</h2>
  
  <pre><code>Column  | Type
  --------|--------------------------------
  ID      | * Auto-incrementing primary key
  Name    | 
  Age     | 
  </code></pre>
  
  <h2>Query Sample:</h2>
  
  <pre><code>insert into users (Name, Age) values ('charuka',12)
  </code></pre>