Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Books XQuery Lab Consider an XML document having the following DTD: Write XMLQuery queries to answer the following: 1.Find all the book titles published by

Books XQuery Lab
Consider an XML document having the following DTD:
         
Write XMLQuery queries to answer the following:

1.Find all the book titles published by 'Addison-Wesley'. Output should be of the form title1 ....

2.Find all the books (their year and title) published between 1991 and 1995. Output should be of the form: title1 ....

3.Find all the authors of books that are priced less than $50. Output should be of the form lastname1 firstname1 ....

4.Find all the books (their year and title) written by authors whose last name is 'Buneman'. Output should be of the form: title1 ....

5.Find all the authors of books that were published before 1994. Output should be of the form lastname1 firstname1 ....

Note: Your queries should reference the xml document: xxxxxx XQuery References: http://www.brics.dk/~amoeller/XML/querying/ http://www.perfectxml.com/articles/xml/xquery.asp

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

denigration of emotional outbursts; being reserved;

Answered: 1 week ago