read db table format