Add `buildSelectSql` method for Db.
Add `select` method for Db.
Add `getLastSql` method for Db.
Delete `console` debug.