You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user-guide/query-builder.md
+18-6Lines changed: 18 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,25 @@ A query is just a set of instructions that tells the system what data you want f
26
26
27
27
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.
28
28
29
-
### Advantages of Using the Query Builder
29
+
Advantages of Using the Query Builder
30
30
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.
34
34
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:
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.
38
50
@@ -82,7 +94,7 @@ The following columns are displayed:
82
94
83
95
### Relationships Pane
84
96
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).
86
98
87
99

0 commit comments