我有 2 个表:维度 dim_Calendar_Start 和 dim_Calendar_End
dim_Calendar_start
(
id_temp_start,
date_start,
year, month,
quarter,
week
)
dim_Calendar_END
(
id_temp_END,
date_end,
year,
month,
quarter,
week
)
FACT_TABLE
(
BTS date_Start_alarm,
date_End_alarm,
id_temp_Start,
id_temp_End,
numOfweek,
T,
a,
pond,
t_pond
)
我已经填写了事实表,但我只需要在与 fact_table 比较后填写 id_temp-Start 和 id_temp_End。
date_Start_alarm dim_Calendar_Start.date_Start 和 fact_table.date_end_alarm with dim_Calendar_end.date_end
我怎样才能插入两个ID