infer table name