0

私はZend Frameworkの初心者です。Zend Framework で 2 つのデータベース テーブルを結合してクエリを作成する必要があります。コードは次のとおりです。

Select 'DB1',Item1,Item2,Item3,Item4 FROM DB1.Table where condition='20' 
UNION 
Select 'DB2',Item1,Item2,Item3,Item4 FROM DB2.Table where condition='0' LIMIT 50
4

0 に答える 0