I have to select sample data from a large table containing millions of rows. I have to follow the following rule to select the sample data.
First I have to select a number that is near to 100 as an interval e.g., suppose I select 99 as my interval.
Then I have to decide a particular number of record from the table e.g, I select # 3.
My first sample record will be the 3rd Record. Subsequently, since 99 is my sampling interval, my 2nd sample record should be Record 102 from the table, my 3rd sample record should be Record 201 etc and so on......
Anybody knows how do I go about selecting the records with the above rule ?
Thanks,
Pramod
First I have to select a number that is near to 100 as an interval e.g., suppose I select 99 as my interval.
Then I have to decide a particular number of record from the table e.g, I select # 3.
My first sample record will be the 3rd Record. Subsequently, since 99 is my sampling interval, my 2nd sample record should be Record 102 from the table, my 3rd sample record should be Record 201 etc and so on......
Anybody knows how do I go about selecting the records with the above rule ?
Thanks,
Pramod