Hi,
How to do this on Yii?
SELECT * from table WHERE number IN (11, 2, 5,9)
and display the rows.
Thanks.
Hi,
How to do this on Yii?
SELECT * from table WHERE number IN (11, 2, 5,9)
and display the rows.
Thanks.
$prueba =Yii::app()->db->createCommand("SELECT * from table WHERE number IN (11, 2, 5,9)")->queryAll();