Heh.. ok I'll try to give you an idea. I mean I can think of a lot of different solutions but it just would be very smooth if I could do it this way.
Imagine this table:
ID | Firstname | Age | Height
On a webpage you list Name, Age and Height in three columns with distinct values (if two persons have the same age you only list that age once etc).
Now, if you click an age you want to mark what persons have that age and what heights is represented by the same persons. If you then click a height, the persons with the chosen age and height sould be marked.
By "marked" I mean that you still want to list all persons but the "marked" ones should be visually different.
This is why I'd like to retrieve all names but some of them as a different fieldName to be able to treat them differently. I also need to use SQL to figure out what entries should be "marked" depending on choices.
Still not making any sense?