Fixed SQL, can now inti tables and enter an image's data