Hallo,
wie kann ich alle object_id(s) selektieren, die bestimmte variablen und werte haben.
Bsp:
Ich habe es mit Klammern visuell gezeigt was ich meine, ich möchte bestimmte variable_id mit bestimmten value verknüpfen. Es kann gut sein, dass ich 100 solche variablen so verknüpfen muss.
Grüße
wie kann ich alle object_id(s) selektieren, die bestimmte variablen und werte haben.
Code:
Tab1: object_id variable_id value 1 A 10 1 B 11 1 C 12 1 F 77 2 A 10 2 B 11 2 W 333 3 A 12 3 B 22 3 C 25 4 B 55 4 F 56 4 D 124 6 E 44
Bsp:
Code:
select object_id from Tab1 where (variable_id = 'A' and value = '10') and (variable_id = 'B' and value = '11') and (variable_id = 'C' and value = '12')
Grüße
Comment