← All tables and views

Northwind view

Summary of Sales by Quarter

Native view in the Northwind sample database.

809rows

3 columns

Schema from the provider contract
ColumnTypeNullableKeyReferences
ShippedDateTEXTyes——
OrderIDTEXTyes——
SubtotalTEXTyes——

View definition

CREATE VIEW [Summary of Sales by Quarter] AS
SELECT Orders.ShippedDate, 
       Orders.OrderID, 
       [Order Subtotals].Subtotal
FROM Orders 
     INNER JOIN [Order Subtotals] ON Orders.OrderID = [Order Subtotals].OrderID
WHERE Orders.ShippedDate IS NOT NULL

Data preview

Sample records

809 rows available
ShippedDateOrderIDSubtotal
2016-07-1610248440
2016-07-10102491863.4
2016-07-12102501552.6
2016-07-1510251654.06
2016-07-11102523597.9
2016-07-16102531444.8000000000002
2016-07-2310254556.62
2016-07-15102552490.5