此图显示在 Order ID 列上联接的 Orders 表和 Order Items 表,且 Orders 表已设置为“保留粒度”。

Orders 表的数据为:
Order ID Order Total
1001 50.97
1002 1249.91
Order Items 表的数据为:
Order ID Product ID Quantity
1001 40 1
1001 63 2
1002 29 1
1002 14 3
1002 2 1

此表显示基于 Orders 表(设置为“保留粒度”)的查询输出。它显示 Product ID 的值为 NULL,表示在订单级保留粒度。

Order ID Product ID Order Total Quantity
1001 NULL 50.97 3
1002 NULL 1249.91 5