view tests/user.ur @ 1239:30f789d5e2ad

Parsing ORDER BY
author Adam Chlipala <adamc@hcoop.net>
date Thu, 15 Apr 2010 08:48:41 -0400
parents d1dbb9a3c804
children
line wrap: on
line source
table user : {A : int}

fun main () =
    r <- oneRow (SELECT COUNT( * ) AS N FROM user);
    return <xml>{[r.N]}</xml>