Insert several records into the xml field in this new table

Assignment Help Database Management System
Reference no: EM13891589

Create a table of XML documents with a type of XML. Use a primary key (you can't use an XML type) so add a field of type INT that is an identity.

Insert several records into the XML field in this new table. Use the following template:

<Root>
<ProductDescription ProductID=""ProductName="">
<Features>
<Warranty></Warranty>
<Maintenance></Maintenance>
</Features>
</ProductDescription>
</Root>

Once these have been added, modify the structure of XML inside of your XML typed field to add another tag of <Material></Material>

Within the Features tag, use the "modify" function to make this happen.

Once this is complete, write an XQuery query using the value clause to return a single record.

CREATE TABLE script, the INSERT statements, the "modify" script, and the XQuery script.

Reference no: EM13891589

Questions Cloud

Find the rank or spearman correlation coefficient : Find the rank or Spearman correlation coefficient between the midterm grade and the IQ ranking of a random sample of 10 students in a large class.
Draw an energy level diagram for the electron : Draw an energy level diagram for the electron for levels up to n=4. Find the wavelengths of all the photons that can be emitted by the electron in making downward transitions
Write on freud''s critique of the rationality of religious : Write on Freud's critique of the rationality of religious belief
A simple model for visualizing difficult concepts : In science and technology, vectors provide a simple model for visualizing difficult concepts such as force, velocity, and electric fields. Vectors are essential for creating the amazing computer graphics we see today. Dot product of vectors is an ope..
Insert several records into the xml field in this new table : Once these have been added, modify the structure of XML inside of your XML typed field to add another tag of , Within the Features tag, use the "modify" function to make this happen.
Explain whether access to health care is right or privilege : Explain whether access to health care is a right or a privilege. Support your opinions through readings. Weave in the government health plan currently being discussed. What is your response to this?
The specific heat of water : Howmuchheatmustbeaddedtoa8.0-kgblockoficeat-8°Ctochangeittowaterat14°C? Thespecific heat of ice is 2050 J/kg · C°, the specific heat of water is 4186 J/kg · C°, the latent heat of fusion of ice is 334,000 J/kg, and 1 cal = 4.186 J.
Individual and group decision-making processes : In this Assignment, you will consider the similarities and differences between individual and group decision-making processes.
What impact does your pricing decision have on pro?tability : What impact does your pricing decision have on pro?tability? What is the ROI (return-on-investment) over the ?rst ?ve years for each of the pricing strategies identi?ed?

Reviews

Write a Review

Database Management System Questions & Answers

  Establish a single control transport connection

This connection would be used to carry control signals relating to all user transport connection between the two entities. Discuss the implications of this strategy.

  Configuring the authentication mode in ssms

Launch SSMS - Right-click on the SQL Server instance you want to configure and select Properties - you will configure the authentication mode for the SQL Server instance. You will ensure that the authentication mode is set to mixed mode so that the..

  What problems could be caused by not having indexes

What problems could be caused by not having appropriate indexes and what problems could be cause by having too many indexes?

  Show the count of the class after deleting

Will insert any first name, last name, ID, GPA, and phone number, in the proper location in the list sorted alphabetically by last name.  After insertion, you should show the count of the class.  Then print the list after you insert.

  You were tasked to create an oracle database for a company

you were tasked to create an oracle database for a company to track their employees and projects. after speaking with

  What rules have to be enforced based on entity type

What rules would have to be enforced based on entity type? Choose one entity type and discuss what enforcement is needed by the database or application.

  Develop basic tools to expedite use of oracles data

develop basic tools to expedite use of oracles data dictionarygoalsdevelop and demonstrate sql skillsdevelop your

  Select the primary key from the candidate keys

How do you select the primary key from the candidate keys? How do foreign keys relate to candidate keys? Provide examples from either your workplace or class assignments.

  Print to screen the ''below average''

Print to screen the 'below average' if minimum unit_cost is 10 for the same product (use sh.costs table)

  Create the relational model

Create the relational model corresponding to the described application. Basically, list the CREATE TABLE statements with the attribute names, and appropriate data types.

  A database to keep track of information for her business

A database to keep track of information for her business

  Give a list of employee names

Using the Northwind database - Give a list of employee names and each employee's corresponding customers by company name.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd