SELECT PostId FROM PostStockMentions WHERE StockId ='40'