Is it possible to get the date column from the different table based on conditions in a single query?
SPE_common_data