Just fyi:
there's a neat program called DB Designer Fork that's open source:
DB Designer Fork | Free Development software downloads at SourceForge.net
You can design your database in this program visually, and then tell it to spit out a ddl in sqlite style, then import that .sql into sql browser (another open source database browser for the pc) and create your sql file.
It has a reverse engineer function so you can use it to connect to oracle/mssql/mysql databases and load in the structures that exist, then export out a sqlite ddl. I haven't found any free tools that can do that.
Though because sqlcipher's (encryption of a sqlite database) already built dlls are at a cost, but the android libraries are free, i usually take the ddl .sql file that creates the android database and run it on android to create a sqlcipher compatible database. Works pretty well.
Though, it hasn't been updated since 2009. So it's not perfect. The sqlite version it supports directly is v2, which since i only use v3 doesn't help. It's supposed to have the capability of connecting directly to a sqlite database and create the tables/pump data into them, but because it hasn't been updated to v3 it's sort of useless for that at the moment. Then again it is open source and the source code is available.