We should get data from temporary table