AdventureWorks
Sales Schema
Description
Contains objects related to customers, sales orders, and sales territories.
Tables
TableDescription
Sales.ContactCreditCardCross-reference table mapping customers in the Contact table to their credit card information in the CreditCard table.
Sales.CountryRegionCurrencyCross-reference table mapping ISO currency codes to a country or region.
Sales.CreditCardCustomer credit card information.
Sales.CurrencyLookup table containing standard ISO currencies.
Sales.CurrencyRateCurrency exchange rates.
Sales.CustomerCurrent customer information. Also see the Individual and Store tables.
Sales.CustomerAddressCross-reference table mapping customers to their address(es).
Sales.IndividualDemographic data about customers that purchase Adventure Works products online.
Sales.SalesOrderDetailIndividual products associated with a specific sales order. See SalesOrderHeader.
Sales.SalesOrderHeaderGeneral sales order information.
Sales.SalesOrderHeaderSalesReasonCross-reference table mapping sales orders to sales reason codes.
Sales.SalesPersonSales representative current information.
Sales.SalesPersonQuotaHistorySales performance tracking.
Sales.SalesReasonLookup table of customer purchase reasons.
Sales.SalesTaxRateTax rate lookup table.
Sales.SalesTerritorySales territory lookup table.
Sales.SalesTerritoryHistorySales representative transfers to other sales territories.
Sales.ShoppingCartItemContains online customer orders until the order is submitted or cancelled.
Sales.SpecialOfferSale discounts lookup table.
Sales.SpecialOfferProductCross-reference table mapping products to special offer discounts.
Sales.StoreCustomers (resellers) of Adventure Works products.
Sales.StoreContactCross-reference table mapping stores and their employees.
Views
ViewDescription
Sales.vIndividualCustomerIndividual customers (names and addresses) that purchase Adventure Works Cycles products online.
Sales.vIndividualDemographicsDisplays the content from each element in the xml column Demographics for each customer in the Sales.Individual table.
Sales.vSalesPersonSales representiatives (names and addresses) and their sales-related information.
Sales.vSalesPersonSalesByFiscalYearsUses PIVOT to return aggregated sales information for each sales representative.
Sales.vStoreWithDemographicsStores (names and addresses) that sell Adventure Works Cycles products to consumers.
See Also

Related Objects

AdventureWorks Database

 

 


© 2012 All Rights Reserved.

Send comments on this topic.