Answer the question
In order to leave comments, you need to log in
Join tables from 2 db yii2?
There are 2 tables in 2 different mysql dbs. It is necessary to make join without using active record. How to do it? Here is a query that works in phpmyadmin:
select t1.AdId, t1.City from butuzLOCAL.product as t1 join statistic.user_2 as t2 on t1.AdId = t2.AdId
where t2.date = '2019-11-12'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question