title: displaying 'Active' for a row which has 'A' as value
body: <p>I have a table named <code>course</code> and it has two columns <code>topic</code> and <code>status</code>..</p>
  
  <p>There are three rows in the table..</p>
  
  <pre><code>('Computer','A')
  ('Science','I')
  ('History','A')
  </code></pre>
  
  <p>When displaying the values from the table I want to display <code>Active</code> for <code>A</code> and <code>Inactive</code> for <code>I</code>..   how can I do that... please help me here.</p>