← All tables and views

Northwind view

Products Above Average Price

Native view in the Northwind sample database.

25rows

2 columns

Schema from the provider contract
ColumnTypeNullableKeyReferences
ProductNameTEXTyes——
UnitPriceTEXTyes——

View definition

CREATE VIEW [Products Above Average Price] AS
SELECT Products.ProductName, 
       Products.UnitPrice
FROM Products
WHERE Products.UnitPrice>(SELECT AVG(UnitPrice) From Products)

Data preview

Sample records

25 rows available
ProductNameUnitPrice
Uncle Bob's Organic Dried Pears30
Northwoods Cranberry Sauce40
Mishi Kobe Niku97
Ikura31
Queso Manchego La Pastora38
Alice Mutton39
Carnarvon Tigers62.5
Sir Rodney's Marmalade81