Read up on how UNION works: You must have the SAME number of fields and type of fields in all branches of the union.
In short, you don't want a union for this.
You might be best off simply making two separate queries. You could combine them into one, but if the data in the two tables are unrelated (as it seems to be), there's not much point.
Read up on how UNION works: You must have the SAME number of fields and type of fields in all branches of the union.
In short, you don't want a union for this.
You might be best off simply making two separate queries. You could combine them into one, but if the data in the two tables are unrelated (as it seems to be), there's not much point.
They are completely unrelated. I just wrote two separate queries and that worked fine. Thanks for the tip!