Error Encountered

Incorrect syntax near the keyword 'outer'.