created tables to display queries