Salut,
J'aimerais savoir si dans le cas de ma requête, il serait possible d'éliminer les champs redondants, merci.
Voici le résultat :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 select A.N_ACTION_ID as actionIdQry, A.S_CODE as codeQry, A.S_DESC as descriptionQry, C.S_VALUE as objectiveQry, E.S_DESC as indicatorqry from T_ACTION A, T_ACTION_MP B, T_OBJECTIVE C, T_OBJECTIVE_INDICATOR D, T_INDICATOR E where A.N_ACTION_ID = B.N_ACTION_ID and B.N_ACTION_MP_ID = C.N_ACTION_MP_ID and C.N_OBJECTIVE_ID = D.N_OBJECTIVE_ID and D.N_INDICATOR_ID = E.N_INDICATOR_ID and B.N_MP_ID = 1
actionIdQry | codeQry | descriptionQry | objectiveQry | indicatorqry
-------------------------------------------------------------------------------
1 | 123 | blabla | objectif 1 | indic 1
1 | 123 | blabla | objectif 1 | indic 2
Et le résultat espéré :
actionIdQry | codeQry | descriptionQry | objectiveQry | indicatorqry
-------------------------------------------------------------------------------
1 | 123 | blabla | objectif 1 | indic 1
_|____|______|________| indic 2
Partager