I am reporting from an oracle 8.1.7 database.
I have 3 tables- steps, points and names.
STEPS:
task# step# point# reading
123 1 10 0.5
123 2 20 0.2
123 3
POINTS:
point# pointname
10 x
20 y
NAMES:
pointname
x
y
z
I want a sql query that for a given task# will return a pointname and a reading for each name listed in the NAMES table. If there is no corresponding pointname & number then I want to return the pointname, and null value for the reading.
Thanks in advance
I have 3 tables- steps, points and names.
STEPS:
task# step# point# reading
123 1 10 0.5
123 2 20 0.2
123 3
POINTS:
point# pointname
10 x
20 y
NAMES:
pointname
x
y
z
I want a sql query that for a given task# will return a pointname and a reading for each name listed in the NAMES table. If there is no corresponding pointname & number then I want to return the pointname, and null value for the reading.
Thanks in advance