Need help with simple sql syntax

Original text of this message