cs186_sp08_mt1-13 - where $s/eats/animal =

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Name: __________________________________ c. (6 pts) Complete the following XQuery that lists species that competes for food with an endangered species in a region. <results> { for $r in doc/eco/region, $s in $r/species
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: where $s/eats/animal = $r/species_______________________________________ or $s/eats/vegetable = $r/species_______________________________________ return { [email protected] } } </results> 13...
View Full Document

This note was uploaded on 08/26/2009 for the course CS 186 taught by Professor Staff during the Spring '08 term at Berkeley.

Ask a homework question - tutors are online