本文介绍了使用 Zend DB 编写子查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!
问题描述
我在将下面的 SQL 转换为 Zend Db 查询时遇到了一些问题.
I am having some problems turning the SQL below into a Zend Db query.
我已经了解了之前的代码 - 但是 Zend Db 没有正确生成查询.谁能告诉我我错过了什么??
I have got as far as the code before - but Zend Db isn't producing the query correctly. Can any one show me what I missing??
顺便说一下,SQL 确实有效.我正在使用 Zend Db 重写它,因为我希望使用 Zend Paginator 功能.
The SQL does work by the way. I am rewriting it using Zend Db as I wish to use the Zend Paginator functionality.
非常感谢任何帮助.
PJ
推荐答案
这个:
给出这个:
这篇关于使用 Zend DB 编写子查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!
本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!