1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
xxMikexx [17]
3 years ago
11

Using the XML Document below (library with books), define the following queries in XQuery: (a) Give the titles of all Books sort

ed by Price. (b) How many books were written by Abiteboul? (c) Give for each author, the number of books he has written.
Computers and Technology
1 answer:
Softa [21]3 years ago
3 0

Answer:

Explanation:

a)use order by clause for sorting

for $x in doc("books.xml")/bib/book order by xs:float($x/price) return $x/title (default sorted in ascending order)

or

for $x in doc("books.xml")/bib/book order by xs:float($b/price) descending  return $b/title (sorted in descending order)

b)doc("books.xml")//book[author = 'Abiteboul']

c)for $x in distinct-values(doc("bib.xml")/bib/book/author)

return <res>

<name>{$x}</name>

<count>

 {count (doc("bib.xml")//book[exists(indexof(author,$x))]) }

</count>

<res>

You might be interested in
Html code to hyperlink home.html​
monitta

Answer:

<a href"url">any text here..if you want</a>

6 0
3 years ago
Which Excel tool adjusts the values in multiple input cells to either maximize, minimize, or reach a specific output value given
almond37 [142]
The Excel tool you are speaking of is "the solver".
6 0
4 years ago
Will a company ever finish its social media marketing strategy?
aleksley [76]
No.

This is because a social media company must always continue to adapt to new trends and marketing techniques in order to remain relevant to the community.

Hope this helps!
6 0
4 years ago
Drag the correct type of update to its definition.
iris [78.8K]

PRI – The connection between mobile tower and radio tower  

PRL – List of Radio frequencies  

Baseband – The chip that controls the radio frequency waves within the device.  

Explanation:

PRI :

• Stands for Primary rate interface.  

• Consists of information pertaining to ID number, network code, country code, etc, to enable the user to connect to the right network

• Gets updated from time to time.

PRL:

• Stands for Preferred Roaming List :

• Contains list of radio frequencies from various geographic location

• Used in CDMA network

• Contains information pertaining to service provider id, radio bands, sub bands, etc.

Baseband:

• Controls GSM and 3G Phone RF waves

4 0
3 years ago
A(n) ______ is a flash memory storage device that contains its own processor to manage its storage.
Ugo [173]
The answer to the fill in the blank is a USB
4 0
3 years ago
Other questions:
  • Which is missing in most areas that do not have Karst topography?
    10·2 answers
  • You have a workstation running windows vista business that you would like to upgrade to windows 7 ultimate. you want to perform
    11·1 answer
  • Items in the __________ area of a class are accessible to all entities that can "see" the object(s) of that class type
    10·1 answer
  • What is the maximum transmission speed for bluetooth v3 and v4 devices?
    12·1 answer
  • When you first launch the internet, what page will open?
    9·1 answer
  • When photographing wildlife, what type of lighting should you use?
    15·2 answers
  • What third-party application serves as an alternative to OneNote?
    10·2 answers
  • U $ er Ideas for R 0 B 1 0 X?
    12·2 answers
  • A router periodically goes offline. Once it goes offline, you find that a simple reboot puts the router back online. After doing
    12·1 answer
  • What is wrong with line 3 ?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!