Aviso!

Incorrect syntax near ')'. Incorrect syntax near the keyword 'and'. Incorrect syntax near ')'.