Fixed SQL file