Make random selection more efficient.
Problem remain:
Now are can run correctly. But income attribute contain too many values, making
count query unefficient. (one time query for income attribute may cause more than
5 minutes). So it's unrealistic to query the result set for 1000 times like Xiao et.al