Accessing data using the SQL query builder As with other types of data sources, for a report to retrieve data from a database using the query builder, you must create the following BIRT objects: A data source that contains the information to connect to the database A data set that specifies the data to retrieve from the database