You could create a temporary table and there store the data you need from the tables that are required to consult your temporary table at the end
CREATE TEMPORARY TABLE tu_tabla( tu_campo1 VARCHAR (100),
tu_campo2 INT (100),
tu_campo3 DATETIME,
tu_campo4 VARCHAR(100),
tu_campo5 INT(100),
tu_campo6 VARCHAR(100),
tu_campo..N INT(100))
Obviously given the little information in your question it would be necessary to treat your data, verify that the columns have the same type of data ... ETC, but at a great rate is only one possibility.