Adding OptionEOD with SQL