select is the best approach to filter data from a data table based on a condition.