1. min bag 3,2,1;
3. avg (bag 1,2,3 union bag 4,5,6);
4. 1 in bag (1,2,3,4);
5. emp;
6. emp last;
7. emp.(last,salary) - zwraca nazwiska wraz z pensjami
7.(emp as x).(x,x.salary)
8. count emp;
9. avg (emp.salary);
10. (emp where last="Smith").salary
11. (emp where job="Programmer" and salary>3000) 
12. emp.("Pracownik "+last+" jest zatrudniony..." + job + " i zarabia " + salary);
13. (emp orderby salary)[2..4]
14.  forall (emp) exists works;
15. ((emp (salary + 0) as pensja,(last as.nazwisko) as pracownik)groupas pracownicy;

16. (empt where name="Salary").employees
17. (dept where location="London").name
18. dept (where max (employee))
20. (dept where max(employees^.salary)(emp.sal))
21.(emp where last="Jackson").works^.employs
22. dept where forall (emplys^) salary>5000;
23. (dept max).(x,avg(x.smployes^.salary));
24.(emp where "Tokyo" in works^.location);
25. dept where count employees >=3;
26. "tokyo" in (emp where last ="smith").works^.location;
27. emp  (emp where "tokyo" in works.location);
28. emp where last in dept.name