Count of products NOT sold...per store, per day over the past month

Posted by user1893510 on Stack Overflow See other posts from Stack Overflow or by user1893510
Published on 2012-12-11T05:02:08Z Indexed on 2012/12/11 5:03 UTC
Read the original article Hit count: 209

Filed under:
|

I'm struggling with an interview question. 3 dimension tables (Product, Store and Date) and 1 fact table (Sales). The question asks for a T-SQL solution that will return the count of products not sold, per store, per day over the past month.

At this point, my answer is futile but I've spent significant time trying to back into a solution, to no avail, and would like to close the loop. Any guidance is greatly appreciated.

© Stack Overflow or respective owner

Related posts about tsql

Related posts about data-warehouse