Suppose I want retrieve values froma table that are greater than 10, should I first store all the values in a list and then check condition of ">10" using any language or should I just just retrieve all values directly from databse using query :Select id from table where id > 10;
Which is the better way ?
Please help!
Thanks!