Reputation: 233
I have 2 tables:
table 1 named table_1
table 2 named table_2
in the Table 2 I have a column with a name "table_name" where I have names of some tables from dbase
I want to write a condition for WHERE procedure, something like that (wrong of course)
WHERE $table_1.name of table 1 = $table_2.table_name
ie the situation when the proper name of the Table 1 is inside column table_name from the Table 2
of course - the proper name of the Table 1 is -> $table_1
Upvotes: 0
Views: 125