Question about db queries

How i can see which db quereis are generatet and executed ?

I guess you are referring to SQLs executed by AR. In your app config, add a CWebLogRoute without any category/level filtering.

check this http://www.yiiframew…8.html#msg10468