summaryrefslogtreecommitdiff
path: root/tests/fitem.ur
blob: 282146c42b6aae7e96b6251fb5a6d62bba08d414 (plain)
1
2
3
4
5
6
table t : { A : int, B : string }
table u : { A : int, C : float }

val q : sql_query [] [T = [A = int, B = string], U = [C = option float]] [] =
    (SELECT t.A, t.B, u.C
     FROM {{sql_left_join (FROM t) (FROM u) (WHERE TRUE)}})