SQL - Should produce an error and doesn't, please help.

Original text of this message