How to to display only unique instances of my objects?
<p>I have a table which stores alarms. my query is that i have to display all the alarms which are in the table but alarms that are repeated should be displayed only once. for example</p>

<pre><code>table1
-------
alarms
------
A
A
A  
A
B
B
B
C
D
E
------
</code></pre>

<p>in the above table say A,B,C,D,E are alarms.the alarms which are repeated should be displayed only once for example alarm A is repeated four times but it has to be displayed only once.the desired output is</p>

<pre><code>A
B
C
D
E
</code></pre>
