Remove outdated code from SQL library and add code necessary for it to work in tutorial.
Remove outdated code from SQL library and add code necessary for it to work in tutorial.

girvo/pharen,Scriptor/pharen,Scriptor/pharen,girvo/pharen