Let\'s say I have the following table with hundreds of toys of various colors...
--------------------------- ITEM | COST | COLOR ----------------------
Well, IMHO, you were given 2 options here, however, I'll still go by merging the arrays as it won't take so many time/system resources like UNION. (Based on that you've said the table has a LOT of rows)