in reply to Re^3: dereference array
in thread dereference array

That is something I had not thought of, self contained sql. Nice, I'll look into it.