Update .SQL file to add winning functionality