fast select by using table