Query Builder
Build a filter with conditions and AND / OR groups, or ask a question, then press Apply. The grid lists the orders that match and the SQL card shows the parameterised WHERE clause you would run on your database. The rules are kept in your session, so every visitor has their own.
Filter the orders
No conditions yet. Add one or ask a question.
Orders
40 of 40 orders
| Customer | Country | Total | Order date | Paid |
|---|---|---|---|---|
| Alba Textiles | Spain | 32,91 | 2026-01-05 | ✓ |
| Alpine Foods | France | 411,04 | 2026-01-12 | |
| Atlas Motors | Germany | 789,17 | 2026-01-19 | ✓ |
| Beacon Tools | Italy | 1.167,30 | 2026-01-26 | ✓ |
| Blue Harbour | United Kingdom | 65,43 | 2026-02-02 | ✓ |
| Castle Bakery | Spain | 443,56 | 2026-02-09 | |
| Cedar Logistics | France | 821,69 | 2026-02-16 | ✓ |
| Delta Pharma | Germany | 1.199,82 | 2026-02-23 | ✓ |
| Eagle Optics | Italy | 97,95 | 2026-03-02 | ✓ |
| Fjord Fisheries | United Kingdom | 476,08 | 2026-03-09 | |
| Granite Works | Spain | 854,21 | 2026-03-16 | ✓ |
| Harbor Wines | France | 1.232,34 | 2026-03-23 | ✓ |
| Iris Fashion | Germany | 130,47 | 2026-03-30 | ✓ |
| Juniper Labs | Italy | 508,60 | 2026-04-06 | |
| Kestrel Air | United Kingdom | 886,73 | 2026-04-13 | ✓ |
| Lumen Lighting | Spain | 1.264,86 | 2026-04-20 | ✓ |
| Maple Paper | France | 162,99 | 2026-04-27 | ✓ |
| Nova Ceramics | Germany | 541,12 | 2026-05-04 | |
| Orion Steel | Italy | 919,25 | 2026-05-11 | ✓ |
| Pioneer Seeds | United Kingdom | 1.297,38 | 2026-05-18 | ✓ |
| Alba Textiles | Spain | 195,51 | 2026-05-25 | ✓ |
| Alpine Foods | France | 573,64 | 2026-06-01 | |
| Atlas Motors | Germany | 951,77 | 2026-06-08 | ✓ |
| Beacon Tools | Italy | 1.329,90 | 2026-06-15 | ✓ |
| Blue Harbour | United Kingdom | 228,03 | 2026-06-22 | ✓ |
| Castle Bakery | Spain | 606,16 | 2026-06-29 | |
| Cedar Logistics | France | 984,29 | 2026-07-06 | ✓ |
| Delta Pharma | Germany | 1.362,42 | 2026-07-13 | ✓ |
| Eagle Optics | Italy | 260,55 | 2026-07-20 | ✓ |
| Fjord Fisheries | United Kingdom | 638,68 | 2026-07-27 | |
| Granite Works | Spain | 1.016,81 | 2026-08-03 | ✓ |
| Harbor Wines | France | 1.394,94 | 2026-08-10 | ✓ |
| Iris Fashion | Germany | 293,07 | 2026-08-17 | ✓ |
| Juniper Labs | Italy | 671,20 | 2026-08-24 | |
| Kestrel Air | United Kingdom | 1.049,33 | 2026-08-31 | ✓ |
| Lumen Lighting | Spain | 1.427,46 | 2026-09-07 | ✓ |
| Maple Paper | France | 325,59 | 2026-09-14 | ✓ |
| Nova Ceramics | Germany | 703,72 | 2026-09-21 | |
| Orion Steel | Italy | 1.081,85 | 2026-09-28 | ✓ |
| Pioneer Seeds | United Kingdom | 1.459,98 | 2026-10-05 | ✓ |
Try this
- Press Add condition, pick Country, keep equals and choose Spain, then press Apply: the grid lists the orders from Spain and the SQL card shows
country = :qb1with its parameter. - Press Add group, switch the new group to OR and give it two conditions, Total greater than 1000 or Paid equals false, then press Apply.
- Type a question in the Ask box and press Ask:
country is Spain and total over 500,total between 200 and 800orpaid is false. The assistant turns it into rules and applies them. Edit those rules and press Apply again. - Reload the page: the rules come back from your session. Another browser starts with no rules.
- Press Clear: every order is listed again.
SQL for your database
SQL
SELECT customer, country, total, order_date, paid FROM orders
Parameters
No parameters, every order is selected.
Rules JSON, kept in your session
{"c":"and","r":[]}