draft of sql create
Merge https://github.com/tstork/scotcodep