0 - 3 of 3 tags for @Fred

Hi,
My table looks like
column name sort 
RAM    A   1
RAM    B    2
SHAM  C    NULL
DHAM  D    5
KIRU   E      6
MALA   F     7
MALA   G     8
Now i wan results like
column name sort  superscript 
RAM    A   1     1,2 
RAM    B    2     
SHAM  C    NULL  

Hi,
I have read that in access logging you ask the database to log who’s doing what on a given object. The information stored is based on the object not the SQL fired or the user who fired it.So my question is why we do this when we have same info in dbql object table.
 

Hi All,

I need a data like below, I want to generate a rank value for each set of Flags. 

seq market  product startdt  enddt  flag
1 10 100 5/10/2015 5/16/2015 N
2 10 100 5/17/2015 5/23/2015 N
3 10 100 5/24/2015 5/30/2015 Y
4 10 100 5/31/2015 6/6/2015 Y
5 10 100 6/7/2015 6/13/2015 Y
6 10 100 6/14/2015 6/20/2015 N