Skip to content

Commit a054e96

Browse files
authored
Update query-builder.md
1 parent f74fb42 commit a054e96

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

user-guide/query-builder.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,25 @@ A query is just a set of instructions that tells the system what data you want f
2626

2727
The graphical query builder helps you find information in a database without writing code. You can click to choose the tables and columns you need, and then see the results. If you use more than one table, you need to show how the tables are connected.
2828

29-
### Advantages of Using the Query Builder
29+
Advantages of Using the Query Builder
3030

31-
1. __Intuitive Query Creation__ - The graphical interface lets you create SQL queries by clicking and selecting options instead of writing code. This makes it simple to use and helps avoid mistakes.
32-
1. __Faster Development__ - You can create even complicated queries easily by dragging and dropping items. The system will automatically create the necessary JOIN relationships between related tables, so you don’t need to set them up manually
33-
1. __Immediate Result Preview__ - The Query Builder lets you see the results of your query before you add them to the report. This helps you make sure everything looks correct and saves time.
31+
* __Intuitive Query Creation__ - The graphical interface lets you create SQL queries by clicking and selecting options instead of writing code. This makes it simple to use and helps avoid mistakes.
32+
* __Faster Development__ - You can create even complicated queries easily by dragging and dropping items. The system will automatically create the necessary JOIN relationships between related tables, so you don’t need to set them up manually
33+
* __Immediate Result Preview__ - The Query Builder lets you see the results of your query before you add them to the report. This helps you make sure everything looks correct and saves time.
3434

35-
## Schema Restrictions
35+
## Steps to Create a Query Builder
36+
37+
1. __Select the SQL Data Source__ - In the `Select Statement` section, choose the SQL Data Source you want to use.
38+
1. __Apply Schema Restrictions__ - Next, select the [Schema restriction]({%slug user-guide/query-builder%}#schema-restrictions) that applies to your chosen SQL Data Source.
39+
1. __Open the Query Builder__ - Click the `Query Builder` button. A new window will open where you can build your SELECT statement. Inside this window, you will find four main sections:
40+
* [Selected Fields]({%slug user-guide/query-builder%}#selected-fields-pane)
41+
* [Relationships]({%slug user-guide/query-builder%}#relationships-pane)
42+
* [Filters]({%slug user-guide/query-builder%}#filters-pane)
43+
* [Result]({%slug user-guide/query-builder%}#result-pane)
44+
45+
Video
46+
47+
### Schema Restrictions
3648

3749
The Web Report Designer’s Query Builder has an option called `Schema Restrictions`. This option lets you choose which parts of the database to load by listing them with commas. It helps report creators see only the needed information and makes loading faster.
3850

@@ -82,7 +94,7 @@ The following columns are displayed:
8294

8395
### Relationships Pane
8496

85-
The Relationships pane shows how the selected tables are linked together, using SQL JOIN statements (which are instructions that tell the database how to combine data from different tables).
97+
The Relationships pane shows how the selected tables are linked together, using [SQL JOIN statements](https://learn.microsoft.com/en-us/sql/relational-databases/performance/joins?view=sql-server-ver17) (which are instructions that tell the database how to combine data from different tables).
8698

8799
![Image of the Relationship Pane ><](images/wrd-query-builder-relationship-pane.png)
88100

0 commit comments

Comments
 (0)