2D: Implementing select using btree index