XML - Managing Data Exchange/Database and XML/Answers
< XML - Managing Data Exchange < Database and XML
CREATE TABLE Movies (doc VARCHAR(150));
INSERT INTO Movies VALUES
('
<movie id="1">
<mtitle>Office Space</mtitle>
<mlength>89 min</mlength>
<mrating>R</mrating>
</movie>
');
INSERT INTO Movies VALUES
('
<movie id="2">
<mtitle>The Ghost and the Darkness</mtitle>
<mlength>109 min</mlength>
<mrating>R</mrating>
</movie>
');
INSERT INTO Movies VALUES
('
<movie id="3">
<mtitle>Donnie Darko</mtitle>
<mlength>118 min</mlength>
<mrating>R</mrating>
</movie>
');
|
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.