init sql
add upsert
Merge pull request #1 from zier/master

crud for sql