add interface DataBaseTable, summarize database queries