summaryrefslogtreecommitdiff
path: root/Year_2/Databases/university_marks_ex2.xquery
blob: e75616cd19889656649dc12ae802313e6b37b1b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<ex2>
{
for $student in doc("university_marks.xml")//libretto
where $student/esami//voto/text()=30
return <student>
    {$student/studente/nome/text()}
    { ' ' }
    {$student/studente/cognome/text()}
    </student>
}
</ex2>