SQL ADDITIONS

Added basic sql additions.