Where clause with decision tree

Single query, where clause, solve by decision tree.