I have a column of data in a table (1) which I have to check against the column of data in several hundred (or thousand) other tables.
Would it be faster to do this as a mysql query intersecting both tables, or to get the data from table (1) into an array, and then set the other columns of data as arrays and intersect?
It's MySQL and PHP5.2.