This is a bried guide about displaying of custom sql query results.
This is a bried guide about displaying of custom sql query results.
If in your application you have to proceed to a complex SQL query that is not associated to a model, you will use CDbDataReader like it is described in the Yii documentation. An example could be