is table selection is valid or not