Interactive Reporting documents can contain multiple Query sections, each of which can access a range of data sources (relational databases, OLAP servers, imported data sets, and local joins). Each section can reference zero (if using only local joins) or one database-connection file. The file can reference only one data source. When a query section associated with a relational database connection or using only local joins is processed, a corresponding Results section is produced. If the database-connection file is associated with a multidimensional database connection, results are shown in the Query section.