Fixed some syntax errors in the sql commands