Gridview is a readymade solution to what you are trying to do. Listview is nice in that it can be styled many different ways since each ‘item’ is rendered by a _view file.
I think the question to ask yourself is whether you want to embrace the features of the framework or not. If you want to code all your tables by hand why use a framework at all?
You can learn to use the ActiveDataProvider or you can use the SQLDataProvider.
I would recommend investing some time in learning Yii Active Record. For simple queries (and I think what you are posting would be) AR is very convenient.
You need to use a dataprovider with grid/list/detailview, not regular 'ole SQL. But you can use an SQLDataprovider.