Excerpts from Adam Chlipala's message of Sun Dec 12 02:17:36 +0100 2010: > The other problem is that the SQL syntax extension only recognizes SQL > keywords in all caps, so you need to change 'as' to 'AS'. ok. compiles and runs - great! Marc Weber