标签: zend-framework
我是Zend Framework的新手。我必须通过在Zend Framework中连接两个数据库表来进行查询。这是代码:
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