select a table to view details