Zend_Db 哪里不
我需要使用 Zend_Db 构建这样的查询:
SELECT * FROM mytable
WHERE NOT (field1 = 0.00 AND field2 = 0.00 AND field3 = 0.00);
How can I Achieve this with Zend_Db, MySQL 方法是否正确? (如果所有三个字段均为 0.00,则忽略它)。
感谢您的回复!
I'm in need of building a query like this in with Zend_Db:
SELECT * FROM mytable
WHERE NOT (field1 = 0.00 AND field2 = 0.00 AND field3 = 0.00);
How can I accomplish this with Zend_Db, also is the MySQL approach correct? (if all three fields are 0.00 then ignore it).
Thanks for the replies!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为应该这样做:
I think this should do it:
我认为应该是
I think it should be