Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FACT_InternetSales #4

Open
Marina-ai-hub opened this issue Sep 9, 2024 · 0 comments
Open

FACT_InternetSales #4

Marina-ai-hub opened this issue Sep 9, 2024 · 0 comments

Comments

@Marina-ai-hub
Copy link
Owner

FACT_InternetSales.csv

SQL Code:
-- Cleaned FACT_InternetSales Table
SELECT TOP (1000) [ProductKey]
,[OrderDateKey]
,[DueDateKey]
,[ShipDateKey]
,[CustomerKey]
-- ,[PromotionKey]
-- ,[CurrencyKey]
-- ,[SalesTerritoryKey]
,[SalesOrderNumber]
-- ,[SalesOrderLineNumber]
-- ,[RevisionNumber]
-- ,[OrderQuantity]
-- ,[UnitPrice]
-- ,[ExtendedAmount]
-- ,[UnitPriceDiscountPct]
-- ,[DiscountAmount]
-- ,[ProductStandardCost]
-- ,[TotalProductCost]
,[SalesAmount]
-- ,[TaxAmt]
-- ,[Freight]
-- ,[CarrierTrackingNumber]
-- ,[CustomerPONumber]
-- ,[OrderDate]
-- ,[DueDate]
--,[ShipDate]
FROM [AdventureWorksDW2022].[dbo].[FactInternetSales]
ORDER BY OrderDateKey ASC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant