1. A master-detail provider for processing user requests for data stored in one or more data sources, the master-detail provider comprising: a query analyzer for analyzing one or more queries included in a user request, and determining any set of the queries in which the queries are linked by one or more master-detail links; a master-detail link handler for relating the queries of each set that are linked by one or more master-detail links as a master query and one or more detail queries; a master query handler for causing preparation of the master queries to generate master query plans, and for generating provider queries by incorporating the master query plans with related detail queries and related master-detail links; and a detail query handler for causing preparation of the detail queries to generate detail query plans.