From 3c5a09ef620a9256fb3cf85d5d913fc2507515b0 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Sat, 6 Feb 2021 20:35:22 +0100 Subject: course: databases --- Year_2/Databases/university_marks.xquery | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Year_2/Databases/university_marks.xquery (limited to 'Year_2/Databases/university_marks.xquery') diff --git a/Year_2/Databases/university_marks.xquery b/Year_2/Databases/university_marks.xquery new file mode 100644 index 0000000..e2f0e4e --- /dev/null +++ b/Year_2/Databases/university_marks.xquery @@ -0,0 +1,11 @@ + +{ +for $student in doc("university_marks.xml")//libretto +where $student/esami//voto/text()=30 +return + {$student/studente/nome/text()} + { ' ' } + {$student/studente/cognome/text()} + +} + -- cgit v1.2.3-18-g5258