Db Extension From Sql Extension

May I know how can I convert .sql into .db files in Yii. I would like my database in the data folder. Thanks :)