title: How to add a .sql file to sqlite db in Xcode
body: <p>I am writing a offline iPhone app in which I need to read and display from a database which consists of a few number of tables. The tables have over 100k entries in it, so it is almost impossible to enter it all individually. I have downloaded the <code>.sql</code> file of the entire db. Now how can I import the db as such into sqlite/Xcode so that I can readily start accessing the data in it??
  Edit: I have seen that when using a database, the file extension that is used is a <code>.db</code> file. Is there anyway I can convert the <code>.sql</code> file to a <code>.db</code> file. And if I can do that, can I simply access the <code>.db</code> file by placing it in the project directory?</p>