add table.sql and check on req