I have a query that returns data in the following form
attribute value
--------- ----------
petid 1000
name buttercup
species cat
age 10
owner Bob Dole
Basically I want to go through every row and return the fields name and species in a single string, so here the result would be
buttercup cat
Any ideas how I could do this?