I have 2 table with different column names.
Table1
alias_id | key | keyword
1 a=1 xx
2 b=1 xxxx
Table2
product_id | store_id
1 1
2 7
I want the query the all keyword row from the table1 where the key a=1 and in the table2 the product_id=1 and store_id=7. In the table1 the key column contains like this key_id=20 but in the table2 I have a column product_id which is contains 20
I tried a lot of option like union and join, but somehow don't want to work for me.
alias_idandproduct_idare linking two table together ?