我嘗試與Zend DB執行此查詢: $this->db->query("
CREATE EVENT turn_tonormal
ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 MINUTE COMMENT 'Return the calendar state to NORMAL'
DO
SELECT
在哪裏做這樣的查詢,我該怎麼辦? SELECT * FROM hotels WHERE name LIKE '%mykey%' AND country_id = '12'
我已經這樣做了,但我們絕不能: $select = $this->sql->select();
$select->from(self::TABLE);
if ($params['key'])
{
$wher
從下面的方法中收到此錯誤? 2013-10-02T14:20:05+01:00 ERR (3): exception 'Zend_Db_Table_Select_Exception' with message 'Select query cannot join with another table' in /usr/share/php/Zend/Db/Table/Select.php:215 cl