in reply to DBI fetchall_arrayref
That will give you [[apple], [a1], [a2], [a3]], I guess, which is pretty close to what you're looking for. To get exactly what you want, you'd need to transpose rows and columns, for which I know of no straightforward, general solution.SELECT fruit FROM table1 UNION SELECT some_col FROM table2
|
|---|