Skip to content

Commit 2b8037a

Browse files
Change left join to inner join on historic_missions_units query (#678)
Resolve #677
2 parents c058f3f + 438329a commit 2b8037a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datascience/src/pipeline/queries/fmc/historic_missions_units.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ SELECT
22
m.ID_FMC_BC_MISSION AS mission_id,
33
mu.IDC_FMC_MOYEN_CONTROLE AS control_unit_id
44
FROM FMC2.FMC_BC_MISSION m
5-
LEFT JOIN FMC2.FMC_BC_MISSION_UNITE mu
5+
JOIN FMC2.FMC_BC_MISSION_UNITE mu
66
ON m.ID_FMC_BC_MISSION = mu.ID_FMC_BC_MISSION
77
WHERE m.DATE_DEBUT_MISSION < TO_DATE( '2023-01-01', 'YYYY-MM-DD')

0 commit comments

Comments
 (0)