I need to retrieve two sets of fields (one field for one condition and two fields for another condition) depending on the value of the third field - something like :
'select townname from towns where activated=false and townname, websitename from towns where activated=true'
This query is wrong - can somebody help me to structure it correctly.
fordtran
'select townname from towns where activated=false and townname, websitename from towns where activated=true'
This query is wrong - can somebody help me to structure it correctly.
fordtran