I'm attempting to get a few particular columns from a table of people with a catch: I would like to concatenate the first two columns together.
More specifically, I have the following array:
@people=@company.people.select(fname, lname, email, telephone, street, city, state, zip,)
I would like, however to concatenate fname and lname together into one column (call it name) so they appear like this:
{lname}, {fname}
I suppose I could do this using a loop with an index but is there a more elegant solution?
Thanks in advance