table selector with small number of tables