Hi guys
I'm actually working in SQL within SAS. Bit of a n00b i'm afraid. I need to assign a value to a percentage of a table.. for example
the first third of records myVal=1
the second third of records myVal=2
the third third of records myval=3
So just to clarify in a table of 30 records, i need records 1-10 myval = 1
11-20 myval = 2
21-30 myval = 3
Thanks
sugarflux
I'm actually working in SQL within SAS. Bit of a n00b i'm afraid. I need to assign a value to a percentage of a table.. for example
the first third of records myVal=1
the second third of records myVal=2
the third third of records myval=3
So just to clarify in a table of 30 records, i need records 1-10 myval = 1
11-20 myval = 2
21-30 myval = 3
Thanks
sugarflux