Implements single selection of a table