Implemented a select row table