Suppose I wanna do a join between table 1 and other tables...table 1 contains a column that specifies which table that row should be joined with
eg:
Table 1:
entry | tableName
333 | table3
4444 | table2
111 | table3
so 333 should be joined with table3, 4444 with table2, etc....
is there a way to specify mysql queries to use the column values like this as the name of the table to be joined with the entry?