SkydivingSteve
Technical User
Let's say I've got a table called Q1. OK I really do have a table called Q1.
What I want to do is show some of the values as they appear in the table (SELECT firstname, lastname FROM Q1 WHERE somecondition).
For some of the fields I want to return a flag intstead of the field value if a condition is met so, instead of (SELECT firstname, lastname, age FROM Q1 WHERE somecondition) I want (SELECT firstname, lastname, age_over_18 FROM Q1 WHERE somecondition)
I want the output to appear something like this;
Joe Bloggs YES
John Doe NO
Any advice much appreciated!
Steve
Everything that rises must converge
What I want to do is show some of the values as they appear in the table (SELECT firstname, lastname FROM Q1 WHERE somecondition).
For some of the fields I want to return a flag intstead of the field value if a condition is met so, instead of (SELECT firstname, lastname, age FROM Q1 WHERE somecondition) I want (SELECT firstname, lastname, age_over_18 FROM Q1 WHERE somecondition)
I want the output to appear something like this;
Joe Bloggs YES
John Doe NO
Any advice much appreciated!
Steve
Everything that rises must converge