hey you can use getText() to see your query or you can also change this to see AR query or your queries like this
'db'=>array(
...
'enableParamLogging' => true,
'enableProfiling' =>true,
),
),
'log'=>array(
'class'=>'CLogRouter',
'routes'=>array(
array(
'class'=>'CProfileLogRoute',
'report' => 'summary',
),