title: How to auto-increment in PostgreSQL?
body: <p>I have a table Login. It has the fields rank, username and password.</p>
  
  <p>I want the rank field value to be auto incremented with respect to addition of username and password.</p>
  
  <p>How do I do this in PostgreSQL ?</p>