How to check the situation of the tables