Identifies the fact table for a star schema join.
Valid in: | PROC SQL |
Category: | Data Set Control |
Restriction: | Use with input data sets only. |
identifies the SAS data set as the fact table for a star schema.
identifies the SAS data set as a dimension table for a star schema.
proc sql;
select orders.Order_Total
from orders (role=fact), product, period, customer
where orders.Product_ID = product.Product_ID
and orders.Period_ID = period.Period_ID
and orders.Customer_ID = customer.Customer_ID
and product.Product_Name = "camera"
and period.Period_Name = "1997"
and customer.Customer_Name = "Walmart";
quit;