1 USING: kernel namespaces db.sql sequences math ;
4 ! TUPLE: person name age ;
9 { columns "name" "age" }
16 { set { "name" "erg" }
25 { count "staffno" as "mycount" }
26 { sum "salary" as "mysum" } }
27 { from "staff" "lol" }
33 { where { "branchno" = "b003" } }
37 { group-by "branchno" "lol2" }
38 { having { count "staffno" > 1 } }
39 { order-by "branchno" }