The Query Builder provides a visual interface for constructing SQL queries used to access tables and views of an SqlDataSource.
You can also use the Query Builder to add queries to an existing Report, as well as to edit existing queries. To do this, right-click the data source in the Report Explorer or Field List, and select Manage Queries... in the context menu.