adding the sql and updating the readme