view tests/user.ur @ 1587:257421857680

Fix SQL grammar bug in manual
author Adam Chlipala <adam@chlipala.net>
date Sat, 05 Nov 2011 09:40:38 -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>