Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 Zend_Db_Table
现在我想获得一个字段的最大可用值。
有没有办法获得 MAX(number) 值或者我需要使用基本 SQL 吗?
谢谢!
采用
new Zend_Db_Expr('MAX(number)')
作为 Zend_Db_Table_Select 中的字段之一。