How to read a table schema