Yii Custom Query Tutorials

CActiveDataProvider With Custom Query