Finish up SQL sample code