1) Consider the following DTD. All unspecified elements are #PCDATA. ... ]> Write the following queries in XQuery. Assume Last names of authors are unique. (a) List all books authored by Ullman. (b) List articles published in Vol. 32 No. 2 of ACM Transactions on Database Systems. (c) List journals that published an article on XML in 2001 (that is, “XML” appears in the title of the article). (d) List authors that have published a book in 2001 and another book in 2003. (e) List publishers, and for each publisher list the books they have published as subelements. Choose appropriate tags for your output. (f) List every author, and for each author list the number of articles he/she published in 2001. Choose appropriate tags for your output.   I want answers for D,E,F i have answers for A,B,C for reference I am posting the entire questions with all subparts but i need answer for subparts d,e,f.

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter8: Working With Trendlines, Pivottables, Pivotcharts, And Slicers
Section: Chapter Questions
Problem 8EYW
icon
Related questions
icon
Concept explainers
Question

1)
Consider the following DTD. All unspecified elements are #PCDATA.
<!DOCTYPE bibliography [
<!ELEMENT book (title,author+,year,publisher,place?)>
<!ELEMENT article (title,author+,journal,year,number,volume,pages?)>
<!ELEMENT author (last_name, first_name)>
...
]>
Write the following queries in XQuery. Assume Last names of authors are unique.
(a) List all books authored by Ullman.
(b) List articles published in Vol. 32 No. 2 of ACM Transactions on Database Systems.
(c) List journals that published an article on XML in 2001 (that is, “XML” appears in the title of the
article).
(d) List authors that have published a book in 2001 and another book in 2003.
(e) List publishers, and for each publisher list the books they have published as subelements. Choose
appropriate tags for your output.
(f) List every author, and for each author list the number of articles he/she published in 2001. Choose
appropriate tags for your output.

 

I want answers for D,E,F i have answers for A,B,C for reference I am posting the entire questions with all subparts but i need answer for subparts d,e,f.

Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Concepts in designing Database
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning