Then he entered the 2002 NBA Draft . The CBA had to release him , and he was selected by the Houston Rockets to play on their team . After negotiating with the CBA and the Sharks to secure his release , Yao was selected by the Houston Rockets as the first overall pick in the 2002 NBA Draft .