Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Collapse]Query Builder
   [Expand]Getting Started
    Binding to Data
    Selecting Tables
    Joining Tables
   [Expand]Shaping Data
    Previewing Results
    Obtaining the Resulting Query
    Localizing the Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Joining Tables

You can join multiple tables or views in the same query by connecting their corresponding columns (key fields).

Drag and drop a detail (right) table on the design surface in the same way as adding the main (left) table.

The Query Builder automatically creates an inner join relationship based on a key column if this relationship is defined at the database level.

You can also manually construct a relationship by dragging the key field from the main table and dropping it onto the detail table's corresponding field.

Click the data relationship to access its properties in the Relation Properties panel. Here you can define the join type (Inner or Left Outer) and applied logical operator (Equals to, Is greater than, etc.).

A left outer join returns all the values from an inner join along with all values in the left table that do not match to the right table including rows with NULL (empty) values in the key field.

When you select the left outer join, the relationship line displays an arrow pointing at the join clause's right table .

Executing the query returns a "flat" table composed of data records selected based on the specified options.

Is this topic helpful?​​​​​​​