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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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